diff --git a/Silk.NET.sln b/Silk.NET.sln index 79ba49352f..34a4c376e9 100644 --- a/Silk.NET.sln +++ b/Silk.NET.sln @@ -18,6 +18,9 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Silk.NET.Windowing.Common", "src\Windowing\Silk.NET.Windowing.Common\Silk.NET.Windowing.Common.csproj", "{956F722C-DFD3-435E-9D2E-A0549C4D8BC0}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{E1F91563-7277-4E9B-A3B7-8D5FD9802A4A}" +ProjectSection(SolutionItems) = preProject + examples\Directory.Build.props = examples\Directory.Build.props +EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenAL", "OpenAL", "{081E7761-B200-4DBF-8950-941464DECACE}" EndProject diff --git a/build/cache/assimp.json.gz b/build/cache/assimp.json.gz index b11a2a41cd..58a8628300 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 9e5a0f8142..155e446032 100644 Binary files a/build/cache/cl.json.gz and b/build/cache/cl.json.gz differ diff --git a/build/cache/d3d11.json.gz b/build/cache/d3d11.json.gz index 8ff7fb0908..a5d3fe0258 100644 Binary files a/build/cache/d3d11.json.gz and b/build/cache/d3d11.json.gz differ diff --git a/build/cache/d3d12.json.gz b/build/cache/d3d12.json.gz index d006912d27..3a98a065a7 100644 Binary files a/build/cache/d3d12.json.gz and b/build/cache/d3d12.json.gz differ diff --git a/build/cache/d3d9.json.gz b/build/cache/d3d9.json.gz index 1c193bffca..220a011b48 100644 Binary files a/build/cache/d3d9.json.gz and b/build/cache/d3d9.json.gz differ diff --git a/build/cache/dxgi.json.gz b/build/cache/dxgi.json.gz index fccd9bd5e8..5238894059 100644 Binary files a/build/cache/dxgi.json.gz and b/build/cache/dxgi.json.gz differ diff --git a/build/cache/gl.json.gz b/build/cache/gl.json.gz index 307dd552c0..15a7188174 100644 Binary files a/build/cache/gl.json.gz and b/build/cache/gl.json.gz differ diff --git a/build/cache/glcore.json.gz b/build/cache/glcore.json.gz index 54a1726cc3..02959b6a28 100644 Binary files a/build/cache/glcore.json.gz and b/build/cache/glcore.json.gz differ diff --git a/build/cache/gles2.json.gz b/build/cache/gles2.json.gz index 5a0614b393..35138e495e 100644 Binary files a/build/cache/gles2.json.gz and b/build/cache/gles2.json.gz differ diff --git a/build/cache/openxr.json.gz b/build/cache/openxr.json.gz index 69c10b5036..2ec5c268cf 100644 Binary files a/build/cache/openxr.json.gz and b/build/cache/openxr.json.gz differ diff --git a/build/cache/sdl.json.gz b/build/cache/sdl.json.gz index 12438a4cb3..b875562434 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 c41c43f88c..55d4d3fb3f 100644 Binary files a/build/cache/vulkan.json.gz and b/build/cache/vulkan.json.gz differ diff --git a/build/csharp_typemap.json b/build/csharp_typemap.json index bf94ea0bc9..2fb7021727 100644 --- a/build/csharp_typemap.json +++ b/build/csharp_typemap.json @@ -1,7 +1,7 @@ { "GLsizei": "uint", - "GLsizeiptr": "UIntPtr", - "GLintptr": "IntPtr", + "GLsizeiptr": "nuint", + "GLintptr": "nint", "GLboolean": "bool", "GLbitfield": "uint", "GLvoid": "void", @@ -18,8 +18,8 @@ "GLclampd": "double", "GLstring": "string", "String": "string", - "GLsizeiptrARB": "UIntPtr", - "GLintptrARB": "IntPtr", + "GLsizeiptrARB": "nuint", + "GLintptrARB": "nint", "GLhandleARB": "uint", "GLhalfARB": "System.Half", "GLhalfNV": "System.Half", @@ -28,31 +28,31 @@ "GLuint64EXT": "ulong", "GLint64": "long", "GLuint64": "ulong", - "sync": "IntPtr", - "GLsync": "IntPtr", + "sync": "nint", + "GLsync": "nint", "GLDEBUGPROC": "DebugProc", "GLDEBUGPROCAMD": "DebugProcAmd", "GLDEBUGPROCARB": "DebugProcArb", "GLDEBUGPROCKHR": "DebugProcKhr", - "GLvdpauSurfaceNV": "IntPtr", - "PROC": "IntPtr", + "GLvdpauSurfaceNV": "nint", + "PROC": "nint", "LPCSTR": "string", "COLORREF": "int", "BOOL": "bool", "DWORD": "int", "FLOAT": "float", - "HANDLE": "IntPtr", - "HDC": "IntPtr", - "HGLRC": "IntPtr", - "HPBUFFERARB": "IntPtr", - "HPBUFFEREXT": "IntPtr", + "HANDLE": "nint", + "HDC": "nint", + "HGLRC": "nint", + "HPBUFFERARB": "nint", + "HPBUFFEREXT": "nint", "INT32": "int", "INT64": "long", - "LPVOID": "IntPtr", + "LPVOID": "nint", "UINT": "uint", "USHORT": "ushort", "VOID": "void", - "VoidPointer": "IntPtr", + "VoidPointer": "nint", "Float64": "double", "Float64Pointer": "double*", "Float32": "float", @@ -61,54 +61,54 @@ "Bool": "bool", "int64_t": "long", "int32_t": "int", - "Display": "IntPtr", - "Pixmap": "IntPtr", - "Colormap": "IntPtr", - "GLXWindow": "IntPtr", - "GLXContext": "IntPtr", - "GLXDrawable": "IntPtr", - "GLXPixmap": "IntPtr", - "__GLXextFuncPtr": "IntPtr", - "VLServer": "IntPtr", - "VLPath": "IntPtr", - "VLNode": "IntPtr", + "Display": "nint", + "Pixmap": "nint", + "Colormap": "nint", + "GLXWindow": "nint", + "GLXContext": "nint", + "GLXDrawable": "nint", + "GLXPixmap": "nint", + "__GLXextFuncPtr": "nint", + "VLServer": "nint", + "VLPath": "nint", + "VLNode": "nint", "GLclampx": "int", "GLfixed": "int", - "GLeglImageOES": "IntPtr", - "GLeglClientBufferEXT": "IntPtr", - "GLVULKANPROCNV": "IntPtr", + "GLeglImageOES": "nint", + "GLeglClientBufferEXT": "nint", + "GLVULKANPROCNV": "nint", "uint8_t": "byte", "uint16_t": "ushort", "uint32_t": "uint", "uint64_t": "ulong", - "size_t": "UIntPtr", - "ANativeWindow": "IntPtr", - "MirConnection": "IntPtr", - "MirSurface": "IntPtr", - "wl_display": "IntPtr", - "wl_surface": "IntPtr", - "VisualID": "IntPtr", - "RROutput": "IntPtr", - "HINSTANCE": "IntPtr", - "HWND": "IntPtr", - "HWND__*": "IntPtr", - "HDC__*": "IntPtr", - "HINSTANCE__*": "IntPtr", - "SECURITY_ATTRIBUTES": "IntPtr", - "LPCWSTR": "IntPtr", - "xcb_connection_t": "IntPtr", - "xcb_window_t": "IntPtr", - "xcb_visualid_t": "IntPtr", - "_cl_context": "IntPtr", - "_cl_event": "IntPtr", - "HMONITOR": "IntPtr", - "CAMetalLayer": "IntPtr", - "AHardwareBuffer": "IntPtr", - "zx_handle_t": "IntPtr", - "GgpFrameToken": "IntPtr", - "GgpStreamDescriptor": "IntPtr", + "size_t": "nuint", + "ANativeWindow": "nint", + "MirConnection": "nint", + "MirSurface": "nint", + "wl_display": "nint", + "wl_surface": "nint", + "VisualID": "nint", + "RROutput": "nint", + "HINSTANCE": "nint", + "HWND": "nint", + "HWND__*": "nint", + "HDC__*": "nint", + "HINSTANCE__*": "nint", + "SECURITY_ATTRIBUTES": "nint", + "LPCWSTR": "nint", + "xcb_connection_t": "nint", + "xcb_window_t": "nint", + "xcb_visualid_t": "nint", + "_cl_context": "nint", + "_cl_event": "nint", + "HMONITOR": "nint", + "CAMetalLayer": "nint", + "AHardwareBuffer": "nint", + "zx_handle_t": "nint", + "GgpFrameToken": "nint", + "GgpStreamDescriptor": "nint", "VkFlags": "uint", - "intptr_t": "IntPtr", + "intptr_t": "nint", "cl_double": "double", "cl_float": "float", "cl_short": "short", @@ -121,27 +121,27 @@ "cl_ulong": "ulong", "cl_version_khr": "uint", "unsignedchar": "byte", - "IDirectFB*": "IntPtr", - "IDirectFBSurface*": "IntPtr", - "VASurfaceID*": "IntPtr", + "IDirectFB*": "nint", + "IDirectFBSurface*": "nint", + "VASurfaceID*": "nint", "EGLint": "int", "khronos_utime_nanoseconds_t": "ulong", "khronos_stime_nanoseconds_t": "long", "khronos_uint64_t": "ulong", - "wl_resource": "IntPtr", - "wl_buffer": "IntPtr", - "jobject": "IntPtr", - "timespec": "ValueTuple", + "wl_resource": "nint", + "wl_buffer": "nint", + "jobject": "nint", + "timespec": "ValueTuple", "LARGE_INTEGER": "long", - "xcb_glx_fbconfig_t": "IntPtr", - "xcb_glx_drawable_t": "IntPtr", - "xcb_glx_context_t": "IntPtr", + "xcb_glx_fbconfig_t": "nint", + "xcb_glx_drawable_t": "nint", + "xcb_glx_context_t": "nint", "_GUID": "Guid", - "HINSTANCE__**": "IntPtr*", - "HWND__**": "IntPtr*", - "HMONITOR__*": "IntPtr", - "HDC__**": "IntPtr*", - "HMONITOR__**": "IntPtr*", + "HINSTANCE__**": "nint*", + "HWND__**": "nint*", + "HMONITOR__*": "nint", + "HDC__**": "nint*", + "HMONITOR__**": "nint*", "_LUID": "ValueTuple", "_LARGE_INTEGER": "long", "IUnknown": "Silk.NET.Core.Native.IUnknown", diff --git a/build/props/common.props b/build/props/common.props index d3b76daa7e..678bff4b66 100644 --- a/build/props/common.props +++ b/build/props/common.props @@ -6,19 +6,28 @@ preview Ultz Limited - Includes everything from the last previews, as well as: - - Maths packaging fixes - - Improved function pointer support - - Vulkan bug fixes - - OpenGL VSync fixes - - Miscellaneous Linux library loading improvements (#279) - - More OpenGL framebuffer bit-depth options (#286) - - Shared OpenGL contexts (#334) - - SDL windowing improvements (#350) - - Minor assembly size improvements (#374) - - Other miscellaneous fixes and improvements + Silk.NET January 2021 Update - 2.0, the largest Silk.NET update to date - This is the last 2.0 preview before full release, and is a production-ready "go live" release. Feel free to use this in new applications. + - Adds Assimp bindings + - Adds SDL bindings + - Adds a SDL windowing backend + - Adds a new, AOT-friendly interop system (SilkTouch) + - Adds Android support + - Adds a generic, flexible maths library to fill in the holes left by System.Numerics + - Adds an initial set of Microsoft DirectX bindings + - Adds improved function pointer support + - Adds more OpenGL framebuffer bit-depth options + - Adds shared OpenGL contexts + - (EXPERIMENTAL!) Adds OpenXR bindings + - (EXPERIMENTAL!) Adds iOS support + - Massive performance improvements + - GLFW fixes + - Windowing and Input fixes/refactorings + - OpenCL and OpenAL improvements + - Vulkan bug fixes + - Miscellaneous bug fixes and improvements + + This release may be breaking and will likely require some modification in updating existing code to it. Please contact us in our Discord server if this is the case. We'll do our best to publish a migration guide shortly. 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 @@ -26,7 +35,7 @@ https://github.com/Ultz/Silk.NET Git 2.0.0 - preview5 + 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. diff --git a/examples/CSharp/Tutorial 1.2 - Hello quad/Program.cs b/examples/CSharp/Tutorial 1.2 - Hello quad/Program.cs index e2aebf3a9b..cb85f4e453 100644 --- a/examples/CSharp/Tutorial 1.2 - Hello quad/Program.cs +++ b/examples/CSharp/Tutorial 1.2 - Hello quad/Program.cs @@ -93,7 +93,7 @@ private static unsafe void OnLoad() Gl.BindBuffer(BufferTargetARB.ArrayBuffer, Vbo); //Binding the buffer. fixed (void* v = &Vertices[0]) { - Gl.BufferData(BufferTargetARB.ArrayBuffer, (UIntPtr) (Vertices.Length * sizeof(uint)), v, BufferUsageARB.StaticDraw); //Setting buffer data. + Gl.BufferData(BufferTargetARB.ArrayBuffer, (nuint) (Vertices.Length * sizeof(uint)), v, BufferUsageARB.StaticDraw); //Setting buffer data. } //Initializing a element buffer that holds the index data. @@ -101,7 +101,7 @@ private static unsafe void OnLoad() Gl.BindBuffer(BufferTargetARB.ElementArrayBuffer, Ebo); //Binding the buffer. fixed (void* i = &Indices[0]) { - Gl.BufferData(BufferTargetARB.ElementArrayBuffer, (UIntPtr) (Indices.Length * sizeof(uint)), i, BufferUsageARB.StaticDraw); //Setting buffer data. + Gl.BufferData(BufferTargetARB.ElementArrayBuffer, (nuint) (Indices.Length * sizeof(uint)), i, BufferUsageARB.StaticDraw); //Setting buffer data. } //Creating a vertex shader. diff --git a/examples/CSharp/Tutorial 1.3 - Abstractions/BufferObject.cs b/examples/CSharp/Tutorial 1.3 - Abstractions/BufferObject.cs index 3c5af59c31..0055223ebb 100644 --- a/examples/CSharp/Tutorial 1.3 - Abstractions/BufferObject.cs +++ b/examples/CSharp/Tutorial 1.3 - Abstractions/BufferObject.cs @@ -24,7 +24,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 1.4 - Textures/BufferObject.cs b/examples/CSharp/Tutorial 1.4 - Textures/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 1.4 - Textures/BufferObject.cs +++ b/examples/CSharp/Tutorial 1.4 - Textures/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 1.5 - Transformations/BufferObject.cs b/examples/CSharp/Tutorial 1.5 - Transformations/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 1.5 - Transformations/BufferObject.cs +++ b/examples/CSharp/Tutorial 1.5 - Transformations/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 2.1 - Co-ordinate Systems/BufferObject.cs b/examples/CSharp/Tutorial 2.1 - Co-ordinate Systems/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 2.1 - Co-ordinate Systems/BufferObject.cs +++ b/examples/CSharp/Tutorial 2.1 - Co-ordinate Systems/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 2.2 - Camera/BufferObject.cs b/examples/CSharp/Tutorial 2.2 - Camera/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 2.2 - Camera/BufferObject.cs +++ b/examples/CSharp/Tutorial 2.2 - Camera/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 3.1 - Ambient Lighting/BufferObject.cs b/examples/CSharp/Tutorial 3.1 - Ambient Lighting/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 3.1 - Ambient Lighting/BufferObject.cs +++ b/examples/CSharp/Tutorial 3.1 - Ambient Lighting/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 3.2 - Diffuse Lighting/BufferObject.cs b/examples/CSharp/Tutorial 3.2 - Diffuse Lighting/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 3.2 - Diffuse Lighting/BufferObject.cs +++ b/examples/CSharp/Tutorial 3.2 - Diffuse Lighting/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 3.3 - Specular Lighting/BufferObject.cs b/examples/CSharp/Tutorial 3.3 - Specular Lighting/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 3.3 - Specular Lighting/BufferObject.cs +++ b/examples/CSharp/Tutorial 3.3 - Specular Lighting/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 3.4 - Materials/BufferObject.cs b/examples/CSharp/Tutorial 3.4 - Materials/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 3.4 - Materials/BufferObject.cs +++ b/examples/CSharp/Tutorial 3.4 - Materials/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/CSharp/Tutorial 3.5 - Lighting Maps/BufferObject.cs b/examples/CSharp/Tutorial 3.5 - Lighting Maps/BufferObject.cs index effed6501c..efb63402b7 100644 --- a/examples/CSharp/Tutorial 3.5 - Lighting Maps/BufferObject.cs +++ b/examples/CSharp/Tutorial 3.5 - Lighting Maps/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint) (data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/examples/Directory.Build.props b/examples/Directory.Build.props index a9340b8462..763682a6a8 100644 --- a/examples/Directory.Build.props +++ b/examples/Directory.Build.props @@ -1,5 +1,6 @@ Tutorial + 9 diff --git a/generator.json b/generator.json index ccb2d19a01..46be364b96 100644 --- a/generator.json +++ b/generator.json @@ -316,7 +316,23 @@ "mode": "Default", "path": "src/Vulkan", "licenseFile": "build/LICENSE_HEADER.txt", - "props": "build/props/bindings.props" + "props": "build/props/bindings.props", + "inject": [ + { + "functions": [ + "vkCreateInstance" + ], + "stage": "end", + "code": "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }" + }, + { + "functions": [ + "vkCreateDevice" + ], + "stage": "end", + "code": "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }" + } + ] }, "namespace": "Silk.NET.Vulkan", "extensionsNamespace": "Silk.NET.Vulkan.Extensions", @@ -340,7 +356,7 @@ "PFN_vkDebugReportCallbackEXT": "PfnDebugReportCallbackEXT", "PFN_vkDebugUtilsMessengerCallbackEXT": "PfnDebugUtilsMessengerCallbackEXT", "char": "byte", - "Window": "IntPtr", + "Window": "nint", "VkAabbPositionsKHR": "Silk.NET.Maths.Box3D", "VkAabbPositionsNV": "Silk.NET.Maths.Box3D" }, @@ -491,7 +507,16 @@ "mode": "Default", "path": "src/OpenXR", "licenseFile": "build/LICENSE_HEADER.txt", - "props": "build/props/bindings.props" + "props": "build/props/bindings.props", + "inject": [ + { + "functions": [ + "xrCreateInstance" + ], + "stage": "end", + "code": "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(instance)$%; }" + } + ] }, "namespace": "Silk.NET.OpenXR", "extensionsNamespace": "Silk.NET.OpenXR.Extensions", @@ -532,10 +557,10 @@ "ID3D12Resource*": "void*", "ID3D12CommandQueue*": "void*", "IUnknown*": "Silk.NET.Core.Native.IUnknown*", - "EGLDisplay": "IntPtr", - "EGLConfig": "IntPtr", - "EGLContext": "IntPtr", - "GLXFBConfig": "IntPtr", + "EGLDisplay": "nint", + "EGLConfig": "nint", + "EGLContext": "nint", + "GLXFBConfig": "nint", "VkFormat": "uint" }, { diff --git a/src/Assimp/Silk.NET.Assimp/Enums/Return.gen.cs b/src/Assimp/Silk.NET.Assimp/Enums/Return.gen.cs index 14f97e8109..2fe9ec6d1d 100644 --- a/src/Assimp/Silk.NET.Assimp/Enums/Return.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Enums/Return.gen.cs @@ -17,8 +17,8 @@ public enum Return : int [NativeName("Name", "aiReturn_SUCCESS")] ReturnSuccess = 0x0, [NativeName("Name", "aiReturn_FAILURE")] - ReturnFailure = unchecked((int)0xFFFFFFFFFFFFFFFF), + ReturnFailure = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "aiReturn_OUTOFMEMORY")] - ReturnOutofmemory = unchecked((int)0xFFFFFFFFFFFFFFFD), + ReturnOutofmemory = unchecked((int) 0xFFFFFFFFFFFFFFFD), } } diff --git a/src/Assimp/Silk.NET.Assimp/Silk.NET.Assimp.csproj b/src/Assimp/Silk.NET.Assimp/Silk.NET.Assimp.csproj index 0a5b18fd6b..40a794c72b 100644 --- a/src/Assimp/Silk.NET.Assimp/Silk.NET.Assimp.csproj +++ b/src/Assimp/Silk.NET.Assimp/Silk.NET.Assimp.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileCloseProc.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileCloseProc.gen.cs index a8cafe0625..cb1ad1775e 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileCloseProc.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileCloseProc.gen.cs @@ -33,10 +33,10 @@ FileCloseProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileCloseProc From(FileCloseProc proc) => new PfnFileCloseProc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileCloseProc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileCloseProc(IntPtr pfn) + public static implicit operator nint(PfnFileCloseProc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileCloseProc(nint pfn) => new PfnFileCloseProc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileCloseProc(FileCloseProc proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileFlushProc.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileFlushProc.gen.cs index c023c8fd24..497c3ccb62 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileFlushProc.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileFlushProc.gen.cs @@ -33,10 +33,10 @@ FileFlushProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileFlushProc From(FileFlushProc proc) => new PfnFileFlushProc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileFlushProc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileFlushProc(IntPtr pfn) + public static implicit operator nint(PfnFileFlushProc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileFlushProc(nint pfn) => new PfnFileFlushProc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileFlushProc(FileFlushProc proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileOpenProc.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileOpenProc.gen.cs index 963ab36870..57487f7325 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileOpenProc.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileOpenProc.gen.cs @@ -33,10 +33,10 @@ FileOpenProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileOpenProc From(FileOpenProc proc) => new PfnFileOpenProc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileOpenProc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileOpenProc(IntPtr pfn) + public static implicit operator nint(PfnFileOpenProc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileOpenProc(nint pfn) => new PfnFileOpenProc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileOpenProc(FileOpenProc proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileReadProc.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileReadProc.gen.cs index 6fcd45d984..56fa728a5c 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileReadProc.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileReadProc.gen.cs @@ -33,10 +33,10 @@ FileReadProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileReadProc From(FileReadProc proc) => new PfnFileReadProc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileReadProc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileReadProc(IntPtr pfn) + public static implicit operator nint(PfnFileReadProc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileReadProc(nint pfn) => new PfnFileReadProc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileReadProc(FileReadProc proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileSeek.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileSeek.gen.cs index 2419d706e9..33f24378b9 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileSeek.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileSeek.gen.cs @@ -33,10 +33,10 @@ FileSeek proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileSeek From(FileSeek proc) => new PfnFileSeek(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileSeek pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileSeek(IntPtr pfn) + public static implicit operator nint(PfnFileSeek pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileSeek(nint pfn) => new PfnFileSeek((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileSeek(FileSeek proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileTellProc.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileTellProc.gen.cs index bc2492cbbb..ee044679f0 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnFileTellProc.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnFileTellProc.gen.cs @@ -33,10 +33,10 @@ FileTellProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFileTellProc From(FileTellProc proc) => new PfnFileTellProc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFileTellProc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFileTellProc(IntPtr pfn) + public static implicit operator nint(PfnFileTellProc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFileTellProc(nint pfn) => new PfnFileTellProc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFileTellProc(FileTellProc proc) diff --git a/src/Assimp/Silk.NET.Assimp/Structs/PfnLogStreamCallback.gen.cs b/src/Assimp/Silk.NET.Assimp/Structs/PfnLogStreamCallback.gen.cs index 221bc5a0dc..f4fba8813f 100644 --- a/src/Assimp/Silk.NET.Assimp/Structs/PfnLogStreamCallback.gen.cs +++ b/src/Assimp/Silk.NET.Assimp/Structs/PfnLogStreamCallback.gen.cs @@ -33,10 +33,10 @@ LogStreamCallback proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnLogStreamCallback From(LogStreamCallback proc) => new PfnLogStreamCallback(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnLogStreamCallback pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnLogStreamCallback(IntPtr pfn) + public static implicit operator nint(PfnLogStreamCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnLogStreamCallback(nint pfn) => new PfnLogStreamCallback((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnLogStreamCallback(LogStreamCallback proc) diff --git a/src/Core/Silk.NET.BuildTools/Bind/ClassWriter.cs b/src/Core/Silk.NET.BuildTools/Bind/ClassWriter.cs index 8cace4448e..83c2a85c12 100644 --- a/src/Core/Silk.NET.BuildTools/Bind/ClassWriter.cs +++ b/src/Core/Silk.NET.BuildTools/Bind/ClassWriter.cs @@ -108,6 +108,8 @@ public static void WriteMixedModeClasses(this Project project, Profile profile, .ToArray(); foreach (var function in allFunctions) { + AddInjectionAttributes(function, task); + if (!string.IsNullOrWhiteSpace(function.PreprocessorConditions)) { sw.WriteLine($"#if {function.PreprocessorConditions}"); @@ -289,6 +291,8 @@ public static void WriteMixedModeClasses(this Project project, Profile profile, sw.WriteLine($" public const string ExtensionName = \"{key}\";"); foreach (var function in i.Functions) { + AddInjectionAttributes(function, task); + if (!string.IsNullOrWhiteSpace(function.PreprocessorConditions)) { sw.WriteLine($"#if {function.PreprocessorConditions}"); @@ -418,5 +422,26 @@ static void FinishOverloadsFile(StreamWriter? swOverloads) swOverloads?.Dispose(); } } + + private static void AddInjectionAttributes(Function function, BindState state) + { + foreach (var injection in state.Task.OutputOpts.Injections ?? Enumerable.Empty()) + { + if (injection.FunctionNativeNames.Contains(function.NativeName)) + { + function.Attributes.Add + ( + new() + { + Name = "Inject", Arguments = new() + { + $"(SilkTouchStage) {(int) injection.Stage}", + $"\"{injection.Code.Replace("\"", "\\\"").Replace("\\", "\\\\")}\"" + } + } + ); + } + } + } } } diff --git a/src/Core/Silk.NET.BuildTools/Bind/EnumWriter.cs b/src/Core/Silk.NET.BuildTools/Bind/EnumWriter.cs index d318ff549f..90cd8fea1d 100644 --- a/src/Core/Silk.NET.BuildTools/Bind/EnumWriter.cs +++ b/src/Core/Silk.NET.BuildTools/Bind/EnumWriter.cs @@ -6,6 +6,7 @@ using System.IO; using Silk.NET.BuildTools.Common; using Silk.NET.BuildTools.Common.Enums; +using Silk.NET.BuildTools.Common.Functions; namespace Silk.NET.BuildTools.Bind { @@ -42,12 +43,9 @@ public static void WriteEnum(this Enum @enum, string file, Profile profile, Proj for (var index = 0; index < @enum.Tokens.Count; index++) { var token = @enum.Tokens[index]; - sw.WriteLine($" [NativeName(\"Name\", \"{token.NativeName}\")]"); - sw.WriteLine - ( - $" {token.Name} = {token.Value}{(index != @enum.Tokens.Count ? "," : string.Empty)}" - ); + sw.Write($" {token.Name} = {MakeUnchecked(token.Value, @enum.EnumBaseType)}"); + sw.WriteLine($"{(index != @enum.Tokens.Count ? "," : string.Empty)}"); } sw.WriteLine(" }"); @@ -55,5 +53,20 @@ public static void WriteEnum(this Enum @enum, string file, Profile profile, Proj sw.Flush(); sw.Dispose(); } + + private static string MakeUnchecked(string value, Type enumBaseType) => value.Contains("unchecked") + ? value + : enumBaseType.Name switch + { + "sbyte" => Utilities.ParseSbyte(value) is null ? $"unchecked((sbyte) {value})" : value, + "byte" => Utilities.ParseByte(value) is null ? $"unchecked((byte) {value})" : value, + "short" => Utilities.ParseShort(value) is null ? $"unchecked((short) {value})" : value, + "ushort" => Utilities.ParseUshort(value) is null ? $"unchecked((ushort) {value})" : value, + "int" => Utilities.ParseInt(value) is null ? $"unchecked((int) {value})" : value, + "uint" => Utilities.ParseUint(value) is null ? $"unchecked((uint) {value})" : value, + "long" => Utilities.ParseLong(value) is null ? $"unchecked((long) {value})" : value, + "ulong" => Utilities.ParseUlong(value) is null ? $"unchecked((ulong) {value})" : value, + _ => value + }; } } diff --git a/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs b/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs index 894b30e6ec..7b34acf436 100644 --- a/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs +++ b/src/Core/Silk.NET.BuildTools/Bind/StructWriter.cs @@ -409,10 +409,10 @@ CallingConvention conv sw.WriteLine($" ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc);"); sw.WriteLine(); sw.WriteLine($" public static {pfnName} From({delegateName} proc) => new {pfnName}(proc);"); - sw.WriteLine($" public void Dispose() => SilkMarshal.Free((IntPtr) _handle);"); + sw.WriteLine($" public void Dispose() => SilkMarshal.Free((nint) _handle);"); sw.WriteLine(); - sw.WriteLine($" public static implicit operator IntPtr({pfnName} pfn) => (IntPtr) pfn.Handle;"); - sw.WriteLine($" public static explicit operator {pfnName}(IntPtr pfn)"); + sw.WriteLine($" public static implicit operator nint({pfnName} pfn) => (nint) pfn.Handle;"); + sw.WriteLine($" public static explicit operator {pfnName}(nint pfn)"); sw.WriteLine($" => new {pfnName}(({fnPtrSig}) pfn);"); sw.WriteLine(); sw.WriteLine($" public static implicit operator {pfnName}({delegateName} proc)"); diff --git a/src/Core/Silk.NET.BuildTools/Common/Functions/Type.cs b/src/Core/Silk.NET.BuildTools/Common/Functions/Type.cs index c39b8a0309..13008d8fef 100644 --- a/src/Core/Silk.NET.BuildTools/Common/Functions/Type.cs +++ b/src/Core/Silk.NET.BuildTools/Common/Functions/Type.cs @@ -166,7 +166,7 @@ public bool IsSingleVoidPointer() /// A value indicating whether this signature represents an IntPtr. public bool IsIntPtr() { - return ToString() == "IntPtr" && !IsIn && !IsByRef && !IsOut; + return (ToString() == "IntPtr" || ToString() == "nint") && !IsIn && !IsByRef && !IsOut; } /// @@ -175,7 +175,7 @@ public bool IsIntPtr() /// A value indicating whether this signature represents a UIntPtr. public bool IsUIntPtr() { - return ToString() == "UIntPtr" && !IsIn && !IsByRef && !IsOut; + return (ToString() == "UIntPtr" || ToString() == "nuint") && !IsIn && !IsByRef && !IsOut; } public bool Eq(Type other) // can't use default equatable logic due to json.net thinking fnptrs self-reference diff --git a/src/Core/Silk.NET.BuildTools/Common/Utilities.cs b/src/Core/Silk.NET.BuildTools/Common/Utilities.cs index dead264eef..9d9b36c45a 100644 --- a/src/Core/Silk.NET.BuildTools/Common/Utilities.cs +++ b/src/Core/Silk.NET.BuildTools/Common/Utilities.cs @@ -202,26 +202,180 @@ public static Field WithFixedFieldFixup09072020(this Field field) return field; } - public static int ParseInt(ReadOnlySpan chars) + public static sbyte? ParseSbyte(ReadOnlySpan chars) { if (chars.StartsWith("0x")) { - return int.Parse(chars.Slice(2), NumberStyles.HexNumber); + return sbyte.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; } - + + if (!sbyte.TryParse(chars, out var ret)) + { + if (sbyte.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex sbyte \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a sbyte. Returning null."); + return null; + } + } + + return ret; + } + public static byte? ParseByte(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return byte.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!byte.TryParse(chars, out var ret)) + { + if (byte.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex byte \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a byte. Returning null."); + return null; + } + } + + return ret; + } + public static short? ParseShort(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return short.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!short.TryParse(chars, out var ret)) + { + if (short.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex short \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a short. Returning null."); + return null; + } + } + + return ret; + } + public static ushort? ParseUshort(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return ushort.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!ushort.TryParse(chars, out var ret)) + { + if (ushort.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex ushort \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a ushort. Returning null."); + return null; + } + } + + return ret; + } + public static int? ParseInt(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return int.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + if (!int.TryParse(chars, out var ret)) { - if (int.TryParse(chars, NumberStyles.HexNumber, null, out var hexRet)) + if (int.TryParse(chars, NumberStyles.HexNumber, null, out ret)) { - Console.WriteLine - ( - $"Warning: Implicitly treating \"{chars.ToString()}\" as hex integer \"{hexRet}\"." - ); - - return hexRet; + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex int \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a int. Returning null."); + return null; } } - + + return ret; + } + public static uint? ParseUint(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return uint.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!uint.TryParse(chars, out var ret)) + { + if (uint.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex uint \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a uint. Returning null."); + return null; + } + } + + return ret; + } + public static long? ParseLong(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return long.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!long.TryParse(chars, out var ret)) + { + if (long.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex long \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a long. Returning null."); + return null; + } + } + + return ret; + } + public static ulong? ParseUlong(ReadOnlySpan chars) + { + if (chars.StartsWith("0x")) + { + return ulong.TryParse(chars.Slice(2), NumberStyles.HexNumber, null, out var hex) ? hex : null; + } + + if (!ulong.TryParse(chars, out var ret)) + { + if (ulong.TryParse(chars, NumberStyles.HexNumber, null, out ret)) + { + Console.WriteLine($"Warning: Implicitly treating \"{chars.ToString()}\" as hex ulong \"{ret}\""); + } + else + { + Console.WriteLine($"Warning: Couldn't parse \"{chars.ToString()}\" as a ulong. Returning null."); + return null; + } + } + return ret; } diff --git a/src/Core/Silk.NET.BuildTools/Config.cs b/src/Core/Silk.NET.BuildTools/Config.cs index d49e485e74..960678a533 100644 --- a/src/Core/Silk.NET.BuildTools/Config.cs +++ b/src/Core/Silk.NET.BuildTools/Config.cs @@ -7,6 +7,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Silk.NET.BuildTools.Common; +using Silk.NET.Core.Attributes; namespace Silk.NET.BuildTools { @@ -98,6 +99,20 @@ public struct OutputOptions public string Props { get; set; } [JsonProperty("conditional")] public Dictionary ConditionalFunctions { get; set; } + [JsonProperty("inject")] public Injection[]? Injections { get; set; } + } + + public struct Injection + { + [JsonProperty("functions")] + public string[] FunctionNativeNames { get; set; } + + [JsonProperty("stage")] + [JsonConverter(typeof(StringEnumConverter))] + public SilkTouchStage Stage { get; set; } + + [JsonProperty("code")] + public string Code { get; set; } } public enum ConverterMode diff --git a/src/Core/Silk.NET.BuildTools/Converters/Khronos/VulkanSpecification.cs b/src/Core/Silk.NET.BuildTools/Converters/Khronos/VulkanSpecification.cs index d83039f580..6a208891b6 100644 --- a/src/Core/Silk.NET.BuildTools/Converters/Khronos/VulkanSpecification.cs +++ b/src/Core/Silk.NET.BuildTools/Converters/Khronos/VulkanSpecification.cs @@ -91,7 +91,7 @@ public static VulkanSpecification LoadFromXmlStream(Stream specFileStream) var baseTypes = types.Elements("type").Where(typex => typex.HasCategoryAttribute("basetype")) .ToDictionary( typex => typex.GetNameElement(), - typex => typex.Element("type")?.Value ?? "IntPtr"); + typex => typex.Element("type")?.Value ?? "nint"); baseTypes["VkBool32"] = "Bool32"; var extensions = registry.Element("extensions").Elements("extension") diff --git a/src/Core/Silk.NET.BuildTools/Converters/Readers/VulkanReader.cs b/src/Core/Silk.NET.BuildTools/Converters/Readers/VulkanReader.cs index e9b8787ff2..7afcc39b7a 100644 --- a/src/Core/Silk.NET.BuildTools/Converters/Readers/VulkanReader.cs +++ b/src/Core/Silk.NET.BuildTools/Converters/Readers/VulkanReader.cs @@ -104,7 +104,7 @@ private Dictionary ConvertStructs(VulkanSpecification spec, Bind h.Name, new Struct { Fields = new List - {new Field {Name = "Handle", Type = new Type {Name = h.CanBeDispatched ? "IntPtr" : "ulong"}}}, + {new Field {Name = "Handle", Type = new Type {Name = h.CanBeDispatched ? "nint" : "ulong"}}}, Name = Naming.TranslateLite(TrimName(h.Name, task), prefix), NativeName = h.Name } diff --git a/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs b/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs index 97c31f88db..65823a4c6a 100644 --- a/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs +++ b/src/Core/Silk.NET.BuildTools/Cpp/Clang.cs @@ -724,7 +724,7 @@ Type GetType(ClangSharp.Type type, out Count count, ref FlowDirection flow, out } else { - ret = new Type {Name = "IntPtr"}; + ret = new Type {Name = "nint"}; } } else if (type is PointerType pointerType) @@ -925,7 +925,7 @@ void VisitDecl(Decl decl, string typedef = null) { Name = Naming.Translate(Naming.TrimName(x.Name, task), task.FunctionPrefix), NativeName = x.Name, - Value = x.InitVal.ToString("X") + Value = "0x" + x.InitVal.ToString("X") } ) .ToList(), diff --git a/src/Core/Silk.NET.BuildTools/Cpp/ComVtblProcessor.cs b/src/Core/Silk.NET.BuildTools/Cpp/ComVtblProcessor.cs index 83d6748032..2f0bcc06ad 100644 --- a/src/Core/Silk.NET.BuildTools/Cpp/ComVtblProcessor.cs +++ b/src/Core/Silk.NET.BuildTools/Cpp/ComVtblProcessor.cs @@ -102,7 +102,7 @@ public static void Implement(StringBuilder sb, Function function, Struct parent, sb.AppendLine($"var {parameter.Name}Ptr = &{parameter.Name}PtrInit;"); parameterInvocations.Add ((new Type {Name = "byte", IndirectionLevels = 2}, $"{parameter.Name}Ptr")); - epilogue.Add(() => sb.AppendLine($"Marshal.FreeHGlobal((IntPtr){parameter.Name}PtrInit);")); + epilogue.Add(() => sb.AppendLine($"Marshal.FreeHGlobal((nint){parameter.Name}PtrInit);")); } else if (parameter.Type.IsByRef) { @@ -116,7 +116,7 @@ public static void Implement(StringBuilder sb, Function function, Struct parent, () => { sb.AppendLine($"{parameter.Name} = Marshal.PtrToStringAnsi(*{parameter.Name}Ptr);"); - sb.AppendLine($"Marshal.FreeHGlobal((IntPtr){parameter.Name}PtrInit);"); + sb.AppendLine($"Marshal.FreeHGlobal((nint){parameter.Name}PtrInit);"); } ); } @@ -135,7 +135,7 @@ public static void Implement(StringBuilder sb, Function function, Struct parent, ((new Type {Name = "byte", IndirectionLevels = 1}, $"{parameter.Name}Ptr")); epilogue.Add ( - () => { sb.AppendLine($"Marshal.FreeHGlobal((IntPtr){parameter.Name}Ptr);"); } + () => { sb.AppendLine($"Marshal.FreeHGlobal((nint){parameter.Name}Ptr);"); } ); } } diff --git a/src/Core/Silk.NET.BuildTools/Overloading/Complex/StringArrayOverloader.cs b/src/Core/Silk.NET.BuildTools/Overloading/Complex/StringArrayOverloader.cs index 0e9499f63c..d6513aed30 100644 --- a/src/Core/Silk.NET.BuildTools/Overloading/Complex/StringArrayOverloader.cs +++ b/src/Core/Silk.NET.BuildTools/Overloading/Complex/StringArrayOverloader.cs @@ -42,8 +42,8 @@ public bool TryGetFunctionVariant(Function function, out ImplementedFunction ove ( $"var {parameter.Name} = ({parameter.Type}) SilkMarshal.StringArrayToPtr({parameter.Name}Sa);" ); - ep.Add($"SilkMarshal.CopyPtrToStringArray((IntPtr) {parameter.Name}, {parameter.Name}Sa);"); - ep.Add($"SilkMarshal.Free((IntPtr) {parameter.Name});"); + ep.Add($"SilkMarshal.CopyPtrToStringArray((nint) {parameter.Name}, {parameter.Name}Sa);"); + ep.Add($"SilkMarshal.Free((nint) {parameter.Name});"); } } diff --git a/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj b/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj index f383dbcdc3..ed1cd798fd 100644 --- a/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj +++ b/src/Core/Silk.NET.BuildTools/Silk.NET.BuildTools.csproj @@ -25,6 +25,7 @@ + diff --git a/src/Core/Silk.NET.Core/Contexts/DefaultNativeContext.cs b/src/Core/Silk.NET.Core/Contexts/DefaultNativeContext.cs index 0e2cfbd151..911fb24631 100644 --- a/src/Core/Silk.NET.Core/Contexts/DefaultNativeContext.cs +++ b/src/Core/Silk.NET.Core/Contexts/DefaultNativeContext.cs @@ -84,7 +84,7 @@ public DefaultNativeContext(string[] names, LibraryLoader loader, PathResolver p public UnmanagedLibrary Library { get; } /// - public IntPtr GetProcAddress(string proc, int? slot = default) + public nint GetProcAddress(string proc, int? slot = default) { return Library.LoadFunction(proc); } diff --git a/src/Core/Silk.NET.Core/Contexts/IGLContext.cs b/src/Core/Silk.NET.Core/Contexts/IGLContext.cs index 5cbfe13846..c17ad98957 100644 --- a/src/Core/Silk.NET.Core/Contexts/IGLContext.cs +++ b/src/Core/Silk.NET.Core/Contexts/IGLContext.cs @@ -9,7 +9,7 @@ namespace Silk.NET.Core.Contexts { public interface IGLContext : INativeContext, IDisposable { - IntPtr Handle { get; } + nint Handle { get; } IGLContextSource? Source { get; } bool IsCurrent { get; } void SwapInterval(int interval); diff --git a/src/Core/Silk.NET.Core/Contexts/INativeContext.cs b/src/Core/Silk.NET.Core/Contexts/INativeContext.cs index 355fbab344..e3469ed84c 100644 --- a/src/Core/Silk.NET.Core/Contexts/INativeContext.cs +++ b/src/Core/Silk.NET.Core/Contexts/INativeContext.cs @@ -9,6 +9,6 @@ namespace Silk.NET.Core.Contexts { public interface INativeContext : IDisposable { - IntPtr GetProcAddress(string proc, int? slot = default); + nint GetProcAddress(string proc, int? slot = default); } } diff --git a/src/Core/Silk.NET.Core/Contexts/LamdaNativeContext.cs b/src/Core/Silk.NET.Core/Contexts/LamdaNativeContext.cs index 9502cbdcf2..3ed2958091 100644 --- a/src/Core/Silk.NET.Core/Contexts/LamdaNativeContext.cs +++ b/src/Core/Silk.NET.Core/Contexts/LamdaNativeContext.cs @@ -9,14 +9,14 @@ namespace Silk.NET.Core.Contexts { public struct LamdaNativeContext : INativeContext { - private readonly Func _getProcAddress; + private readonly Func _getProcAddress; - public LamdaNativeContext(Func getProcAddress) + public LamdaNativeContext(Func getProcAddress) { _getProcAddress = getProcAddress; } - public IntPtr GetProcAddress(string proc, int? slot = default) + public nint GetProcAddress(string proc, int? slot = default) { return _getProcAddress(proc); } diff --git a/src/Core/Silk.NET.Core/Contexts/MultiNativeContext.cs b/src/Core/Silk.NET.Core/Contexts/MultiNativeContext.cs index 7a38fb55ba..298914e584 100644 --- a/src/Core/Silk.NET.Core/Contexts/MultiNativeContext.cs +++ b/src/Core/Silk.NET.Core/Contexts/MultiNativeContext.cs @@ -30,7 +30,7 @@ public MultiNativeContext(params INativeContext?[] contexts) } /// - public IntPtr GetProcAddress(string proc, int? slot = default) + public nint GetProcAddress(string proc, int? slot = default) { foreach (var nativeContext in Contexts) { diff --git a/src/Core/Silk.NET.Core/Loader/Kernel32.cs b/src/Core/Silk.NET.Core/Loader/Kernel32.cs index e19735ce2d..9dfe89b575 100644 --- a/src/Core/Silk.NET.Core/Loader/Kernel32.cs +++ b/src/Core/Silk.NET.Core/Loader/Kernel32.cs @@ -11,12 +11,12 @@ namespace Silk.NET.Core.Loader internal static class Kernel32 { [DllImport("kernel32")] - public static extern IntPtr LoadLibrary(string fileName); + public static extern nint LoadLibrary(string fileName); [DllImport("kernel32")] - public static extern IntPtr GetProcAddress(IntPtr module, string procName); + public static extern nint GetProcAddress(nint module, string procName); [DllImport("kernel32")] - public static extern int FreeLibrary(IntPtr module); + public static extern int FreeLibrary(nint module); } } diff --git a/src/Core/Silk.NET.Core/Loader/Libc.cs b/src/Core/Silk.NET.Core/Loader/Libc.cs index a56fa6cdf8..5d32b2da0a 100644 --- a/src/Core/Silk.NET.Core/Loader/Libc.cs +++ b/src/Core/Silk.NET.Core/Loader/Libc.cs @@ -15,13 +15,13 @@ internal static class Libc public const int RtldNow = 0x002; [DllImport(LibName)] - public static extern IntPtr dlopen(string fileName, int flags); + public static extern nint dlopen(string fileName, int flags); [DllImport(LibName)] - public static extern IntPtr dlsym(IntPtr handle, string name); + public static extern nint dlsym(nint handle, string name); [DllImport(LibName)] - public static extern int dlclose(IntPtr handle); + public static extern int dlclose(nint handle); [DllImport(LibName)] public static extern string dlerror(); diff --git a/src/Core/Silk.NET.Core/Loader/Libdl.cs b/src/Core/Silk.NET.Core/Loader/Libdl.cs index f2f96ebcf8..0b678c4a21 100644 --- a/src/Core/Silk.NET.Core/Loader/Libdl.cs +++ b/src/Core/Silk.NET.Core/Loader/Libdl.cs @@ -15,13 +15,13 @@ internal static class Libdl public const int RtldNow = 0x002; [DllImport(LibName)] - public static extern IntPtr dlopen(string fileName, int flags); + public static extern nint dlopen(string fileName, int flags); [DllImport(LibName)] - public static extern IntPtr dlsym(IntPtr handle, string name); + public static extern nint dlsym(nint handle, string name); [DllImport(LibName)] - public static extern int dlclose(IntPtr handle); + public static extern int dlclose(nint handle); [DllImport(LibName)] public static extern string dlerror(); diff --git a/src/Core/Silk.NET.Core/Loader/LibraryLoader.cs b/src/Core/Silk.NET.Core/Loader/LibraryLoader.cs index 30337517df..3b4bfca339 100644 --- a/src/Core/Silk.NET.Core/Loader/LibraryLoader.cs +++ b/src/Core/Silk.NET.Core/Loader/LibraryLoader.cs @@ -25,7 +25,7 @@ public abstract class LibraryLoader /// /// The name of the library to open. /// The operating system handle for the shared library. - public IntPtr LoadNativeLibrary(string name) + public nint LoadNativeLibrary(string name) { var success = TryLoadNativeLibrary(name, out var result); @@ -49,7 +49,7 @@ private static void ThrowLibNotFound(string name) /// The name of the library to open. /// A pointer to the loaded library. /// The operating system handle for the shared library. - public bool TryLoadNativeLibrary(string name, out IntPtr result) + public bool TryLoadNativeLibrary(string name, out nint result) { var success = TryLoadNativeLibrary(new[] {name}, PathResolver.Default, out result); @@ -63,7 +63,7 @@ public bool TryLoadNativeLibrary(string name, out IntPtr result) /// An ordered list of names. Each name is tried in turn, until the library is successfully loaded. /// /// The operating system handle for the shared library. - public IntPtr LoadNativeLibrary(string[] names) + public nint LoadNativeLibrary(string[] names) { var success = TryLoadNativeLibrary(names, out var result); @@ -90,7 +90,7 @@ private static void ThrowLibNotFoundAny(string[] names) /// /// A pointer to the loaded library. /// The operating system handle for the shared library. - public bool TryLoadNativeLibrary(string[] names, out IntPtr result) + public bool TryLoadNativeLibrary(string[] names, out nint result) { var success = TryLoadNativeLibrary(names, PathResolver.Default, out var libPtr); result = libPtr; @@ -104,7 +104,7 @@ public bool TryLoadNativeLibrary(string[] names, out IntPtr result) /// The name of the library to open. /// The path resolver to use. /// The operating system handle for the shared library. - public IntPtr LoadNativeLibrary(string name, PathResolver pathResolver) + public nint LoadNativeLibrary(string name, PathResolver pathResolver) { if (string.IsNullOrEmpty(name)) { @@ -135,7 +135,7 @@ private static void ThrowParameterNotNullOrEmpty(string param) /// The path resolver to use. /// A pointer to the loaded library. /// The operating system handle for the shared library. - public bool TryLoadNativeLibrary(string name, PathResolver pathResolver, out IntPtr result) + public bool TryLoadNativeLibrary(string name, PathResolver pathResolver, out nint result) { var success = TryLoadNativeLibrary(new[] {name}, pathResolver, out var libPtr); result = libPtr; @@ -151,7 +151,7 @@ public bool TryLoadNativeLibrary(string name, PathResolver pathResolver, out Int /// /// The path resolver to use. /// The operating system handle for the shared library. - public IntPtr LoadNativeLibrary(string[] names, PathResolver pathResolver) + public nint LoadNativeLibrary(string[] names, PathResolver pathResolver) { if (names == null || names.Length == 0) { @@ -179,9 +179,9 @@ public IntPtr LoadNativeLibrary(string[] names, PathResolver pathResolver) /// The path resolver to use. /// A pointer to the loaded library. /// The operating system handle for the shared library. - public bool TryLoadNativeLibrary(string[] names, PathResolver pathResolver, out IntPtr result) + public bool TryLoadNativeLibrary(string[] names, PathResolver pathResolver, out nint result) { - result = IntPtr.Zero; + result = 0; if (names == null || names.Length == 0) { @@ -191,16 +191,16 @@ public bool TryLoadNativeLibrary(string[] names, PathResolver pathResolver, out foreach (var name in names) { result = LoadWithResolver(name, pathResolver); - if (result != IntPtr.Zero) + if (result != 0) { break; } } - return result != IntPtr.Zero; + return result != 0; } - private IntPtr LoadWithResolver(string name, PathResolver pathResolver) + private nint LoadWithResolver(string name, PathResolver pathResolver) { if (name == "__Internal") { @@ -217,7 +217,7 @@ private IntPtr LoadWithResolver(string name, PathResolver pathResolver) try { var ret = CoreLoadNativeLibrary(loadTarget); - if (ret != IntPtr.Zero) + if (ret != 0) { return ret; } @@ -228,7 +228,7 @@ private IntPtr LoadWithResolver(string name, PathResolver pathResolver) } } - return IntPtr.Zero; + return 0; } /// @@ -237,7 +237,7 @@ private IntPtr LoadWithResolver(string name, PathResolver pathResolver) /// The operating system handle of the opened shared library. /// The name of the exported function to load. /// A pointer to the loaded function. - public IntPtr LoadFunctionPointer(IntPtr handle, string functionName) + public nint LoadFunctionPointer(nint handle, string functionName) { if (string.IsNullOrEmpty(functionName)) { @@ -246,7 +246,7 @@ public IntPtr LoadFunctionPointer(IntPtr handle, string functionName) } var ret = CoreLoadFunctionPointer(handle, functionName); - if (ret == IntPtr.Zero) + if (ret == 0) { ThrowSymbolLoading(functionName); return default; @@ -264,9 +264,9 @@ private static void ThrowSymbolLoading(string functionName) /// Frees the library represented by the given operating system handle. /// /// The handle of the open shared library. - public void FreeNativeLibrary(IntPtr handle) + public void FreeNativeLibrary(nint handle) { - if (handle == IntPtr.Zero) + if (handle == 0) { throw new ArgumentException("Parameter must not be zero.", nameof(handle)); } @@ -282,13 +282,13 @@ public void FreeNativeLibrary(IntPtr handle) /// The operating system handle for the shared library. /// If the library cannot be loaded, IntPtr.Zero should be returned. /// - protected abstract IntPtr CoreLoadNativeLibrary(string name); + protected abstract nint CoreLoadNativeLibrary(string name); /// /// Frees the library represented by the given operating system handle. /// /// The handle of the open shared library. This must not be zero. - protected abstract void CoreFreeNativeLibrary(IntPtr handle); + protected abstract void CoreFreeNativeLibrary(nint handle); /// /// Loads a function pointer out of the given library by name. @@ -296,7 +296,7 @@ public void FreeNativeLibrary(IntPtr handle) /// The operating system handle of the opened shared library. This must not be zero. /// The name of the exported function to load. This must not be null or empty. /// A pointer to the loaded function. - protected abstract IntPtr CoreLoadFunctionPointer(IntPtr handle, string functionName); + protected abstract nint CoreLoadFunctionPointer(nint handle, string functionName); /// /// Returns a default library loader for the running operating system. @@ -337,49 +337,49 @@ private static void PlatformNotSupported() #if NETCOREAPP3_1 || NET5_0 private class NetNextNativeLibraryLoader : LibraryLoader { - protected override IntPtr CoreLoadNativeLibrary(string name) + protected override nint CoreLoadNativeLibrary(string name) { if (NativeLibrary3.TryLoad(name, out var lib)) { return lib; } - return IntPtr.Zero; + return 0; } - protected override void CoreFreeNativeLibrary(IntPtr handle) + protected override void CoreFreeNativeLibrary(nint handle) { - if (handle != IntPtr.Zero) + if (handle != 0) { NativeLibrary3.Free(handle); } } - protected override IntPtr CoreLoadFunctionPointer(IntPtr handle, string functionName) + protected override nint CoreLoadFunctionPointer(nint handle, string functionName) { if (NativeLibrary3.TryGetExport(handle, functionName, out var ptr)) { return ptr; } - return IntPtr.Zero; + return 0; } } #endif private class BsdLibraryLoader : LibraryLoader { - protected override void CoreFreeNativeLibrary(IntPtr handle) + protected override void CoreFreeNativeLibrary(nint handle) { Libc.dlclose(handle); } - protected override IntPtr CoreLoadFunctionPointer(IntPtr handle, string functionName) + protected override nint CoreLoadFunctionPointer(nint handle, string functionName) { return Libc.dlsym(handle, functionName); } - protected override IntPtr CoreLoadNativeLibrary(string name) + protected override nint CoreLoadNativeLibrary(string name) { return Libc.dlopen(name, Libc.RtldNow); } @@ -387,17 +387,17 @@ protected override IntPtr CoreLoadNativeLibrary(string name) private class Win32LibraryLoader : LibraryLoader { - protected override void CoreFreeNativeLibrary(IntPtr handle) + protected override void CoreFreeNativeLibrary(nint handle) { Kernel32.FreeLibrary(handle); } - protected override IntPtr CoreLoadFunctionPointer(IntPtr handle, string functionName) + protected override nint CoreLoadFunctionPointer(nint handle, string functionName) { return Kernel32.GetProcAddress(handle, functionName); } - protected override IntPtr CoreLoadNativeLibrary(string name) + protected override nint CoreLoadNativeLibrary(string name) { return Kernel32.LoadLibrary(name); } @@ -405,17 +405,17 @@ protected override IntPtr CoreLoadNativeLibrary(string name) private class UnixLibraryLoader : LibraryLoader { - protected override void CoreFreeNativeLibrary(IntPtr handle) + protected override void CoreFreeNativeLibrary(nint handle) { Libdl.dlclose(handle); } - protected override IntPtr CoreLoadFunctionPointer(IntPtr handle, string functionName) + protected override nint CoreLoadFunctionPointer(nint handle, string functionName) { return Libdl.dlsym(handle, functionName); } - protected override IntPtr CoreLoadNativeLibrary(string name) + protected override nint CoreLoadNativeLibrary(string name) { return Libdl.dlopen(name, Libdl.RtldNow); } diff --git a/src/Core/Silk.NET.Core/Loader/UnmanagedLibrary.cs b/src/Core/Silk.NET.Core/Loader/UnmanagedLibrary.cs index 29f432bac5..239740d5ff 100644 --- a/src/Core/Silk.NET.Core/Loader/UnmanagedLibrary.cs +++ b/src/Core/Silk.NET.Core/Loader/UnmanagedLibrary.cs @@ -78,7 +78,7 @@ public UnmanagedLibrary(string[] names, LibraryLoader loader, PathResolver pathR /// /// The operating system handle of the loaded library. /// - public IntPtr Handle { get; } + public nint Handle { get; } /// /// Frees the native library. Function pointers retrieved from this library will be void. @@ -101,7 +101,7 @@ public void Dispose() public T LoadFunction(string name) { var functionPtr = _loader.LoadFunctionPointer(Handle, name); - if (functionPtr == IntPtr.Zero) + if (functionPtr == 0) { throw new InvalidOperationException($"No function was found with the name {name}."); } @@ -114,7 +114,7 @@ public T LoadFunction(string name) /// /// The name of the native export. /// A function pointer for the given name, or 0 if no function with that name exists. - public IntPtr LoadFunction(string name) + public nint LoadFunction(string name) { return _loader.LoadFunctionPointer(Handle, name); } diff --git a/src/Core/Silk.NET.Core/Miscellaneous/PfnVoidFunction.cs b/src/Core/Silk.NET.Core/Miscellaneous/PfnVoidFunction.cs index df747cda6d..1305399872 100644 --- a/src/Core/Silk.NET.Core/Miscellaneous/PfnVoidFunction.cs +++ b/src/Core/Silk.NET.Core/Miscellaneous/PfnVoidFunction.cs @@ -10,7 +10,7 @@ public readonly unsafe struct PfnVoidFunction public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; public PfnVoidFunction(delegate* unmanaged[Cdecl] ptr) => _handle = ptr; - public static implicit operator IntPtr(PfnVoidFunction pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnVoidFunction pfn) => (nint) pfn.Handle; public PfnVoidFunction (Delegate func) => _handle = (delegate* unmanaged[Cdecl]) SilkMarshal.DelegateToPtr diff --git a/src/Core/Silk.NET.Core/Native/ComObject.cs b/src/Core/Silk.NET.Core/Native/ComObject.cs index 08b7b99b6c..9e1fd330ed 100644 --- a/src/Core/Silk.NET.Core/Native/ComObject.cs +++ b/src/Core/Silk.NET.Core/Native/ComObject.cs @@ -13,8 +13,8 @@ public unsafe class ComObject : IDisposable private ComObject(){} public ComObject(object o) => Handle = (IUnknown*) Marshal.GetIUnknownForObject(o); public static ComObject? FromPtr(IUnknown* ptr) => ptr is null ? null : new ComObject{Handle = ptr}; - public object Value => Marshal.GetObjectForIUnknown((IntPtr) Handle); - public object UniqueValue => Marshal.GetUniqueObjectForIUnknown((IntPtr) Handle); + public object Value => Marshal.GetObjectForIUnknown((nint) Handle); + public object UniqueValue => Marshal.GetUniqueObjectForIUnknown((nint) Handle); public IUnknown* Handle { get; set; } public int QueryInterface(ref Guid riid, out ComObject? comObject) diff --git a/src/Core/Silk.NET.Core/Native/ConcurrentDictionaryVTable.cs b/src/Core/Silk.NET.Core/Native/ConcurrentDictionaryVTable.cs index f4c5b08cb2..1ed91f27fa 100644 --- a/src/Core/Silk.NET.Core/Native/ConcurrentDictionaryVTable.cs +++ b/src/Core/Silk.NET.Core/Native/ConcurrentDictionaryVTable.cs @@ -13,7 +13,7 @@ namespace Silk.NET.Core.Native public class ConcurrentDictionaryVTable : IVTable { private const int ConcurrencyLevel = 1; - private ConcurrentDictionary _entryPoints; + private ConcurrentDictionary _entryPoints; private INativeContext _ctx; #if DEBUG private bool _initialized = false; @@ -30,11 +30,11 @@ public void Initialize(INativeContext ctx, int maxSlots) Debug.Assert(!_initialized, "Do not re-initialize VTable"); _initialized = true; #endif - _entryPoints = new ConcurrentDictionary(ConcurrencyLevel, maxSlots); + _entryPoints = new ConcurrentDictionary(ConcurrencyLevel, maxSlots); _ctx = ctx; } - public IntPtr Load(int slot, string entryPoint) + public nint Load(int slot, string entryPoint) { #if DEBUG Debug.Assert(_initialized, "Cannot load from uninitialized VTable"); @@ -43,7 +43,7 @@ public IntPtr Load(int slot, string entryPoint) { var v = _ctx.GetProcAddress(entryPoint); - if (v == IntPtr.Zero) + if (v == 0) ThrowEntryPointNotFound(entryPoint, i); return v; diff --git a/src/Core/Silk.NET.Core/Native/GlobalMemory.cs b/src/Core/Silk.NET.Core/Native/GlobalMemory.cs index 7ea7378426..d41223c72c 100644 --- a/src/Core/Silk.NET.Core/Native/GlobalMemory.cs +++ b/src/Core/Silk.NET.Core/Native/GlobalMemory.cs @@ -52,7 +52,7 @@ public Span this[Range range] /// /// Gets a handle to this block of global memory. /// - public unsafe IntPtr Handle => (IntPtr)Unsafe.AsPointer(ref GetPinnableReference()); + public unsafe nint Handle => (nint)Unsafe.AsPointer(ref GetPinnableReference()); /// /// Gets a span representing this block of global memory. @@ -79,14 +79,14 @@ public unsafe Span AsSpan() where T : unmanaged /// Gets a handle to this block of global memory. /// /// A handle to this block of global memory. - public static unsafe implicit operator void*(GlobalMemory left) => left.Handle.ToPointer(); + public static unsafe implicit operator void*(GlobalMemory left) => (void*) left.Handle; /// /// Gets a handle to this block of global memory. /// /// A handle to this block of global memory. - public static implicit operator IntPtr(GlobalMemory left) => left.Handle; + public static implicit operator nint(GlobalMemory left) => left.Handle; /// /// Gets a reference to the global memory. This reference is valid until this object is disposed or finalized. @@ -147,45 +147,45 @@ public static GlobalMemory Allocate(int length) => // Encapsulations different kinds of memory private interface IGlobalMemory { - IntPtr Handle { get; } + nint Handle { get; } } private struct GCHandleByteArray : IGlobalMemory { public GCHandleByteArray(int length) => GCHandle = GCHandle.Alloc(new byte[length], GCHandleType.Pinned); public GCHandle GCHandle { get; } - public IntPtr Handle => GCHandle.AddrOfPinnedObject(); + public nint Handle => GCHandle.AddrOfPinnedObject(); } private struct HGlobal : IGlobalMemory { public HGlobal(int length) => Handle = Marshal.AllocHGlobal(length); - public HGlobal(IntPtr val) => Handle = val; - public IntPtr Handle { get; } + public HGlobal(nint val) => Handle = val; + public nint Handle { get; } } private struct BStr : IGlobalMemory { public BStr(int length) => Handle = SilkMarshal.AllocBStr(length); - public BStr(IntPtr val) => Handle = val; - public IntPtr Handle { get; } + public BStr(nint val) => Handle = val; + public nint Handle { get; } } private struct Other : IGlobalMemory { // used for "unsafe" marshalling of a pointer to our neat GlobalMemory class if that's your thing. - public Other(IntPtr val) => Handle = val; - public IntPtr Handle { get; } + public Other(nint val) => Handle = val; + public nint Handle { get; } } // "Unsafe" methods - internal static GlobalMemory FromHGlobal(IntPtr hGlobal, int len) + internal static GlobalMemory FromHGlobal(nint hGlobal, int len) => new GlobalMemory(new HGlobal(hGlobal), len); - internal static GlobalMemory FromBStr(IntPtr bStr, int len) + internal static GlobalMemory FromBStr(nint bStr, int len) => new GlobalMemory(new BStr(bStr), len); - internal static GlobalMemory FromAnyPtr(IntPtr val, int len) + internal static GlobalMemory FromAnyPtr(nint val, int len) => new GlobalMemory(new Other(val), len); } } diff --git a/src/Core/Silk.NET.Core/Native/IVTable.cs b/src/Core/Silk.NET.Core/Native/IVTable.cs index 9cc2d5d81e..1a22c3830c 100644 --- a/src/Core/Silk.NET.Core/Native/IVTable.cs +++ b/src/Core/Silk.NET.Core/Native/IVTable.cs @@ -11,7 +11,7 @@ namespace Silk.NET.Core.Native public interface IVTable : IDisposable { void Initialize(INativeContext ctx, int maxSlots); - IntPtr Load(int slot, string entryPoint); + nint Load(int slot, string entryPoint); void Purge(); } } diff --git a/src/Core/Silk.NET.Core/Native/NativeApiContainer.cs b/src/Core/Silk.NET.Core/Native/NativeApiContainer.cs index b82af939eb..e43d77c5e1 100644 --- a/src/Core/Silk.NET.Core/Native/NativeApiContainer.cs +++ b/src/Core/Silk.NET.Core/Native/NativeApiContainer.cs @@ -34,6 +34,7 @@ protected NativeApiContainer(INativeContext ctx) } _vTable.Initialize(_ctx, slotCount); GcUtility = new GcUtility(1, CoreGcSlotCount()); + PostInit(); // ReSharper restore VirtualMemberCallInConstructor } @@ -73,9 +74,14 @@ public void PurgeEntryPoints() CurrentVTable.Purge(); } - protected IntPtr Load(int slot, string entryPoint) + protected nint Load(int slot, string entryPoint) { return CurrentVTable.Load(slot, entryPoint); } + + protected virtual void PostInit() + { + // do nothing by default + } } } diff --git a/src/Core/Silk.NET.Core/Native/SilkMarshal.cs b/src/Core/Silk.NET.Core/Native/SilkMarshal.cs index 52d3e02fc3..adb52011ab 100644 --- a/src/Core/Silk.NET.Core/Native/SilkMarshal.cs +++ b/src/Core/Silk.NET.Core/Native/SilkMarshal.cs @@ -24,17 +24,17 @@ public static class SilkMarshal /// /// The length of the string pointer, in bytes. /// A pointer to the created string. - public static IntPtr AllocBStr(int length) => Marshal.StringToBSTR(new string('\0', length)); + public static nint AllocBStr(int length) => Marshal.StringToBSTR(new string('\0', length)); /// /// Free a BStr pointer /// /// The pointer to be freed. - public static void FreeBStr(IntPtr ptr) => Marshal.FreeBSTR(ptr); + public static void FreeBStr(nint ptr) => Marshal.FreeBSTR(ptr); // Store the GlobalMemory instances so that on .NET 5 the pinned object heap isn't prematurely garbage collected // This means that the GlobalMemory is only freed when the user calls Free. - private static readonly ConcurrentDictionary _marshalledMemory = new(); + private static readonly ConcurrentDictionary _marshalledMemory = new(); // In addition, we should keep track of the memory we allocate dedicated to string arrays. If we don't, we won't // know to free the individual strings allocated within memory. @@ -43,9 +43,9 @@ public static class SilkMarshal // Other kinds of GCHandle-pinned pointers may be passed into Free, like delegate pointers for example which // must have GCHandles allocated on older runtimes to avoid an ExecutionEngineException. // We should keep track of those. - private static readonly ConcurrentDictionary _otherGCHandles = new(); + private static readonly ConcurrentDictionary _otherGCHandles = new(); - private static IntPtr RegisterMemory(GlobalMemory memory) => (_marshalledMemory[memory.Handle] = memory).Handle; + private static nint RegisterMemory(GlobalMemory memory) => (_marshalledMemory[memory.Handle] = memory).Handle; /// /// Allocates a block of global memory of the given size. @@ -55,7 +55,7 @@ public static class SilkMarshal /// /// The number of bytes to allocate. /// The allocated bytes. - public static IntPtr Allocate(int length) => RegisterMemory(GlobalMemory.Allocate(length)); + public static nint Allocate(int length) => RegisterMemory(GlobalMemory.Allocate(length)); /// /// Frees the unmanaged construct represented by this pointer. @@ -65,7 +65,7 @@ public static class SilkMarshal /// Whether the operation was successful or not. If false, the pointer likely didn't originate from a /// method. /// - public static bool Free(IntPtr ptr) + public static bool Free(nint ptr) { var ret = _otherGCHandles.TryRemove(ptr, out var gcHandle); if (ret) @@ -81,7 +81,7 @@ public static bool Free(IntPtr ptr) if (_stringArrays.TryRemove(val, out var numStrings)) { - var span = val.AsSpan(); + var span = val.AsSpan(); for (var i = 0; i < numStrings; i++) { Free(span[i]); @@ -174,7 +174,7 @@ static unsafe GlobalMemory WideToMemory(string input) /// The encoding of the string stored in this memory region /// The pointer to the allocated memory /// - public static IntPtr AllocateString(int length, NativeStringEncoding encoding = NativeStringEncoding.Ansi) + public static nint AllocateString(int length, NativeStringEncoding encoding = NativeStringEncoding.Ansi) => encoding switch { NativeStringEncoding.BStr => AllocBStr(length), @@ -182,7 +182,7 @@ public static IntPtr AllocateString(int length, NativeStringEncoding encoding = NativeStringEncoding.LPTStr => Allocate(length), NativeStringEncoding.LPUTF8Str => Allocate(length), NativeStringEncoding.LPWStr => Allocate(length), - _ => ThrowInvalidEncoding() + _ => ThrowInvalidEncoding() }; /// @@ -191,7 +191,7 @@ public static IntPtr AllocateString(int length, NativeStringEncoding encoding = /// The pointer to be freed /// The encoding used to allocate this pointer /// - public static void FreeString(IntPtr ptr, NativeStringEncoding encoding = NativeStringEncoding.Ansi) + public static void FreeString(nint ptr, NativeStringEncoding encoding = NativeStringEncoding.Ansi) { switch (encoding) { @@ -205,7 +205,7 @@ public static void FreeString(IntPtr ptr, NativeStringEncoding encoding = Native Free(ptr); break; default: - ThrowInvalidEncoding(); + ThrowInvalidEncoding(); break; } } @@ -220,7 +220,7 @@ public static void FreeString(IntPtr ptr, NativeStringEncoding encoding = Native /// The string to marshal. /// The target native string encoding. /// A pointer to the memory containing the marshalled string array. - public static IntPtr StringToPtr(string input, NativeStringEncoding encoding = NativeStringEncoding.Ansi) + public static nint StringToPtr(string input, NativeStringEncoding encoding = NativeStringEncoding.Ansi) => RegisterMemory(StringToMemory(input, encoding)); /// @@ -229,7 +229,7 @@ public static IntPtr StringToPtr(string input, NativeStringEncoding encoding = N /// A pointer to memory containing a null-terminated string. /// The encoding of the string in memory. /// The string read from memory. - public static string PtrToString(IntPtr input, NativeStringEncoding encoding = NativeStringEncoding.Ansi) + public static string PtrToString(nint input, NativeStringEncoding encoding = NativeStringEncoding.Ansi) { return encoding switch { @@ -241,11 +241,11 @@ public static string PtrToString(IntPtr input, NativeStringEncoding encoding = N _ => ThrowInvalidEncoding() }; - static unsafe string BStrToString(IntPtr ptr) + static unsafe string BStrToString(nint ptr) => new string((char*) ptr, 0, (int)(*((uint*)ptr - 1) / sizeof(char))); - static unsafe string AnsiToString(IntPtr ptr) => new string((sbyte*) ptr); - static unsafe string WideToString(IntPtr ptr) => new string((char*) ptr); + static unsafe string AnsiToString(nint ptr) => new string((sbyte*) ptr); + static unsafe string WideToString(nint ptr) => new string((char*) ptr); } /// @@ -270,7 +270,7 @@ public static GlobalMemory StringArrayToMemory ) { var memory = GlobalMemory.Allocate(input.Count * IntPtr.Size); - var span = memory.AsSpan(); + var span = memory.AsSpan(); for (var i = 0; i < input.Count; i++) { span[i] = StringToPtr(input[i], e); @@ -288,11 +288,11 @@ public static GlobalMemory StringArrayToMemory public static GlobalMemory StringArrayToMemory ( IReadOnlyList input, - Func customStringMarshaller + Func customStringMarshaller ) { var memory = GlobalMemory.Allocate(input.Count * IntPtr.Size); - var span = memory.AsSpan(); + var span = memory.AsSpan(); for (var i = 0; i < input.Count; i++) { span[i] = customStringMarshaller(input[i]); @@ -307,7 +307,7 @@ Func customStringMarshaller /// The input array. /// The encoding of the resultant string array. /// A pointer to memory containing the marshalled string array. - public static IntPtr StringArrayToPtr + public static nint StringArrayToPtr ( IReadOnlyList input, NativeStringEncoding encoding = NativeStringEncoding.Ansi @@ -324,10 +324,10 @@ public static IntPtr StringArrayToPtr /// The input array. /// The marshaller to use for the individual strings in the array. /// A pointer to memory containing the marshalled string array. - public static IntPtr StringArrayToPtr + public static nint StringArrayToPtr ( IReadOnlyList input, - Func customStringMarshaller + Func customStringMarshaller ) { var memory = StringArrayToMemory(input, customStringMarshaller); @@ -343,14 +343,14 @@ Func customStringMarshaller /// The encoding of the string in memory public static unsafe void CopyPtrToStringArray ( - IntPtr ptr, + nint ptr, string[] arr, NativeStringEncoding encoding = NativeStringEncoding.Ansi ) { for (var i = 0; i < arr.Length; i++) { - arr[i] = PtrToString(((IntPtr*)ptr)![i]); + arr[i] = PtrToString(((nint*)ptr)![i]); } } @@ -363,13 +363,13 @@ public static unsafe void CopyPtrToStringArray /// The read string array. public static unsafe string[] PtrToStringArray ( - IntPtr input, + nint input, int numStrings, NativeStringEncoding encoding = NativeStringEncoding.Ansi ) { var ret = new string[numStrings]; - var ptrs = (IntPtr*) input; + var ptrs = (nint*) input; for (var i = 0; i < numStrings; i++) { ret[i] = PtrToString(ptrs![i]); @@ -388,13 +388,13 @@ public static unsafe string[] PtrToStringArray /// The read string array. public static unsafe string[] PtrToStringArray ( - IntPtr input, + nint input, int numStrings, - Func customUnmarshaller + Func customUnmarshaller ) { var ret = new string[numStrings]; - var ptrs = (IntPtr*) input; + var ptrs = (nint*) input; for (var i = 0; i < numStrings; i++) { ret[i] = customUnmarshaller(ptrs![i]); @@ -425,10 +425,10 @@ public static string[] MemoryToStringArray public static string[] MemoryToStringArray ( GlobalMemory input, - Func customUnmarshaller + Func customUnmarshaller ) => PtrToStringArray(input, input.Length / IntPtr.Size, customUnmarshaller); - private static unsafe string Utf8PtrToString(IntPtr ptr) + private static unsafe string Utf8PtrToString(nint ptr) { var span = new Span((void*) ptr, int.MaxValue); span = span.Slice(0, span.IndexOf(default(byte))); @@ -445,7 +445,7 @@ private static unsafe string Utf8PtrToString(IntPtr ptr) /// The HGlobal to wrap. /// The length of this HGlobal in bytes. /// An object representing this HGlobal. - public static GlobalMemory HGlobalToMemory(IntPtr hGlobal, int length) + public static GlobalMemory HGlobalToMemory(nint hGlobal, int length) => GlobalMemory.FromHGlobal(hGlobal, length); /// @@ -454,7 +454,7 @@ public static GlobalMemory HGlobalToMemory(IntPtr hGlobal, int length) /// The BStr to wrap. /// The length of this BStr in bytes. /// An object representing this BStr. - public static GlobalMemory BStrToMemory(IntPtr bStr, int length) + public static GlobalMemory BStrToMemory(nint bStr, int length) => GlobalMemory.FromHGlobal(bStr, length); /// @@ -469,7 +469,7 @@ public static GlobalMemory BStrToMemory(IntPtr bStr, int length) /// otherwise, this method should only be used for accessing 's rich set of APIs and /// not to manage lifetime. /// - public static GlobalMemory PtrToMemory(IntPtr ptr, int length) + public static GlobalMemory PtrToMemory(nint ptr, int length) => GlobalMemory.FromHGlobal(ptr, length); /// @@ -489,7 +489,7 @@ public static GlobalMemory PtrToMemory(IntPtr ptr, int length) /// Whether to pin the delegate such that the returned pointer remains valid for long periods of time. /// /// A function pointer to the given delegate. - public static IntPtr DelegateToPtr(Delegate @delegate, + public static nint DelegateToPtr(Delegate @delegate, DelegatePointerKind kind = DelegatePointerKind.Stub, bool pinned = true) { @@ -654,7 +654,7 @@ static void Throw(string nameof, CallingConvention delegateConv, CallingConventi return (delegate* unmanaged[Thiscall]) DelegateToPtr(@delegate, kind, pinned); } - public static T PtrToDelegate(IntPtr p) where T : Delegate => Marshal.GetDelegateForFunctionPointer(p); + public static T PtrToDelegate(nint p) where T : Delegate => Marshal.GetDelegateForFunctionPointer(p); [MethodImpl((MethodImplOptions)768)] public static unsafe ref Guid GuidOf() => ref *TypeGuid.Riid; [MethodImpl((MethodImplOptions)768)] public static unsafe Guid* GuidPtrOf() => TypeGuid.Riid; diff --git a/src/Core/Silk.NET.Core/Native/Structs/ID3DInclude.gen.cs b/src/Core/Silk.NET.Core/Native/Structs/ID3DInclude.gen.cs index 07156c1e2c..70602f8d68 100644 --- a/src/Core/Silk.NET.Core/Native/Structs/ID3DInclude.gen.cs +++ b/src/Core/Silk.NET.Core/Native/Structs/ID3DInclude.gen.cs @@ -284,7 +284,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName, vo int ret = default; var pFileNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFileName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentData, ppData, pBytes); - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -298,7 +298,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName, vo { ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentData, ppData, pBytesPtr); } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -312,7 +312,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName, vo { ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentData, ppDataPtr, pBytes); } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -329,7 +329,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName, vo ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentData, ppDataPtr, pBytesPtr); } } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -343,7 +343,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentDataPtr, ppData, pBytes); } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -360,7 +360,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentDataPtr, ppData, pBytesPtr); } } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -377,7 +377,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName ret = ((delegate* unmanaged[Cdecl])LpVtbl[0])(@this, IncludeType, pFileNamePtr, pParentDataPtr, ppDataPtr, pBytes); } } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -397,7 +397,7 @@ public readonly unsafe int Open(D3DIncludeType IncludeType, string pFileName } } } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } diff --git a/src/Core/Silk.NET.Core/Native/Structs/PfnDestructionCallback.gen.cs b/src/Core/Silk.NET.Core/Native/Structs/PfnDestructionCallback.gen.cs index 29182cac96..7d126de0fd 100644 --- a/src/Core/Silk.NET.Core/Native/Structs/PfnDestructionCallback.gen.cs +++ b/src/Core/Silk.NET.Core/Native/Structs/PfnDestructionCallback.gen.cs @@ -33,10 +33,10 @@ DestructionCallback proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnDestructionCallback From(DestructionCallback proc) => new PfnDestructionCallback(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnDestructionCallback pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnDestructionCallback(IntPtr pfn) + public static implicit operator nint(PfnDestructionCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnDestructionCallback(nint pfn) => new PfnDestructionCallback((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnDestructionCallback(DestructionCallback proc) diff --git a/src/Core/Silk.NET.Core/Native/VkHandle.cs b/src/Core/Silk.NET.Core/Native/VkHandle.cs index 49ae45382e..7207d0bacf 100644 --- a/src/Core/Silk.NET.Core/Native/VkHandle.cs +++ b/src/Core/Silk.NET.Core/Native/VkHandle.cs @@ -17,7 +17,7 @@ public struct VkHandle /// /// The actual value of the Vulkan handle. /// - public IntPtr Handle; + public nint Handle; /// /// Initializes a new instance of the struct. @@ -26,7 +26,7 @@ public struct VkHandle /// The native Vulkan handle. /// This is NOT a pointer to a field containing the handle, this is the actual handle itself. /// - public VkHandle(IntPtr handle) + public VkHandle(nint handle) { Handle = handle; } diff --git a/src/Core/Silk.NET.SilkTouch/Middlewares/InjectMiddleware.cs b/src/Core/Silk.NET.SilkTouch/Middlewares/InjectMiddleware.cs index 4971912e76..9b2b10b3bc 100644 --- a/src/Core/Silk.NET.SilkTouch/Middlewares/InjectMiddleware.cs +++ b/src/Core/Silk.NET.SilkTouch/Middlewares/InjectMiddleware.cs @@ -4,30 +4,84 @@ // of the MIT license. See the LICENSE file for details. using System; +using System.Collections.Generic; using System.Linq; +using System.Text; +using System.Text.RegularExpressions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Silk.NET.Core.Attributes; +using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; -namespace Silk.NET.SilkTouch -{ - public static partial class Middlewares - { - public static void InjectMiddleware(ref IMarshalContext ctx, Action next) - { +namespace Silk.NET.SilkTouch { + public static partial class Middlewares { + private static readonly Regex _substitutionRegex = new Regex(@"%\$((?RESULT)|PARAM\((?[a-zA-Z_]{1}[a-zA-Z0-9_]*)\))\$%", RegexOptions.Compiled); + public static void InjectMiddleware(ref IMarshalContext ctx, Action next) { var context = ctx; - var injectDatas = ctx.MethodSymbol.GetAttributes().Where - ( - x => SymbolEqualityComparer.Default.Equals - (x.AttributeClass, context.Compilation.GetTypeByMetadataName(typeof(InjectAttribute).FullName)) + var injectDatas = ctx.MethodSymbol.GetAttributes().Where( + x => SymbolEqualityComparer.Default.Equals(x.AttributeClass, context.Compilation.GetTypeByMetadataName(typeof (InjectAttribute).FullName)) ); - foreach(var injectData in injectDatas) - { + foreach(var injectData in injectDatas) { var injectPoint = (SilkTouchStage) injectData.ConstructorArguments[0].Value!; - var code = (string)injectData.ConstructorArguments[1].Value!; - var syntax = SyntaxFactory.ParseStatement(code); - ctx.AddSideEffectToStage(injectPoint, _ => syntax); + var code = (string) injectData.ConstructorArguments[1].Value!; + ctx.AddSideEffectToStage(injectPoint, ctx => { + if (injectPoint == SilkTouchStage.End) { + var substitutions = _substitutionRegex.Match(code); + if (substitutions.Success) { + var codeBuilder = new StringBuilder(); + var start = 0; + string ? resultStr = null; + Dictionary < string, string > ? pValues = null; + while (substitutions.Success) { + string ? substitution = null; + if (substitutions.Groups["result"].Success) { + if (ctx.ResultVariable.HasValue) { + // Cache for multiple-substitution + if (resultStr is null) { + resultStr = ParenthesizedExpression(ctx.ResolveVariable(ctx.ResultVariable.Value).Value) + .NormalizeWhitespace() + .ToFullString(); + } + substitution = resultStr; + } + } else { + var parameterName = substitutions.Groups["pname"].Value; + + // Create parameter lookup dictionary first time we see the substitution. + if (pValues is null) { + pValues = ctx.MethodSymbol.Parameters + .Select((p, i) => ( + Name: p.Name, + Value: ParenthesizedExpression(ctx.ResolveVariable(ctx.ParameterVariables[i]).Value) + .NormalizeWhitespace() + .ToFullString())) + .ToDictionary(t => t.Name, t => t.Value); + } + + if (pValues.TryGetValue(parameterName, out + var value)) { + substitution = value; + } + } + + if (substitution != null) { + codeBuilder.Append(code.Substring(start, substitutions.Index - start)) + .Append(substitution); + start = substitutions.Index + substitutions.Length; + } + substitutions = substitutions.NextMatch(); + } + + if (start > 0) { + if (start < code.Length) codeBuilder.Append(code.Substring(start)); + code = codeBuilder.ToString(); + } + } + } + + return ParseStatement(code); + }); } ctx.TransitionTo(SilkTouchStage.Begin); @@ -35,4 +89,4 @@ public static void InjectMiddleware(ref IMarshalContext ctx, Action next) ctx.TransitionTo(SilkTouchStage.End); } } -} +} \ No newline at end of file diff --git a/src/Core/Silk.NET.SilkTouch/NameGenerator.cs b/src/Core/Silk.NET.SilkTouch/NameGenerator.cs index 54e30fca38..06ac0f6a33 100644 --- a/src/Core/Silk.NET.SilkTouch/NameGenerator.cs +++ b/src/Core/Silk.NET.SilkTouch/NameGenerator.cs @@ -32,10 +32,11 @@ private static string ToAlphabetString(int i) public static string Name(string suggestion) { - return ToAlphabetString(_c++); -#if DEBUG + // BUG the name shortener for some reason is causing duplicate member bugs. such as: + // GL.3491994.gen.cs(107452,35): Error CS0111 : Type 'GL.TXDY' already defines a member called 'VNWU' with + // the same parameter types + // return ToAlphabetString(_c++); return suggestion; -#endif } } } diff --git a/src/Input/Extensions/Silk.NET.Input.Extensions/GamepadState.cs b/src/Input/Extensions/Silk.NET.Input.Extensions/GamepadState.cs index 1a7e097caf..d52ab6e13e 100644 --- a/src/Input/Extensions/Silk.NET.Input.Extensions/GamepadState.cs +++ b/src/Input/Extensions/Silk.NET.Input.Extensions/GamepadState.cs @@ -60,9 +60,9 @@ public unsafe Span GetTriggers() private unsafe void ReleaseUnmanagedResources() { - Marshal.FreeHGlobal((IntPtr) _buttons); - Marshal.FreeHGlobal((IntPtr) _thumbsticks); - Marshal.FreeHGlobal((IntPtr) _triggers); + Marshal.FreeHGlobal((nint) _buttons); + Marshal.FreeHGlobal((nint) _thumbsticks); + Marshal.FreeHGlobal((nint) _triggers); } ~GamepadState() diff --git a/src/Input/Extensions/Silk.NET.Input.Extensions/JoystickState.cs b/src/Input/Extensions/Silk.NET.Input.Extensions/JoystickState.cs index bcabfa53e5..4316ff6749 100644 --- a/src/Input/Extensions/Silk.NET.Input.Extensions/JoystickState.cs +++ b/src/Input/Extensions/Silk.NET.Input.Extensions/JoystickState.cs @@ -74,9 +74,9 @@ public unsafe Span GetHats() private unsafe void ReleaseUnmanagedResources() { - Marshal.FreeHGlobal((IntPtr) _axes); - Marshal.FreeHGlobal((IntPtr) _buttons); - Marshal.FreeHGlobal((IntPtr) _hats); + Marshal.FreeHGlobal((nint) _axes); + Marshal.FreeHGlobal((nint) _buttons); + Marshal.FreeHGlobal((nint) _hats); } ~JoystickState() diff --git a/src/Input/Extensions/Silk.NET.Input.Extensions/KeyboardState.cs b/src/Input/Extensions/Silk.NET.Input.Extensions/KeyboardState.cs index cc613fa500..2b18abf60c 100644 --- a/src/Input/Extensions/Silk.NET.Input.Extensions/KeyboardState.cs +++ b/src/Input/Extensions/Silk.NET.Input.Extensions/KeyboardState.cs @@ -34,7 +34,7 @@ internal unsafe KeyboardState(IKeyboard keyboard) } } - _keys = (Key*) Marshal.ReAllocHGlobal((IntPtr) _pressedKeys, (IntPtr) (_pressedKeyCount * sizeof(Key))); + _keys = (Key*) Marshal.ReAllocHGlobal((nint) _pressedKeys, (nint) (_pressedKeyCount * sizeof(Key))); } public string Name { get; } @@ -74,8 +74,8 @@ public unsafe Span GetPressedKeys() private unsafe void Free() { - Marshal.FreeHGlobal((IntPtr) _keys); - Marshal.FreeHGlobal((IntPtr) _pressedKeys); + Marshal.FreeHGlobal((nint) _keys); + Marshal.FreeHGlobal((nint) _pressedKeys); } ~KeyboardState() diff --git a/src/Input/Extensions/Silk.NET.Input.Extensions/MouseState.cs b/src/Input/Extensions/Silk.NET.Input.Extensions/MouseState.cs index 8299f70b3d..545cefb705 100644 --- a/src/Input/Extensions/Silk.NET.Input.Extensions/MouseState.cs +++ b/src/Input/Extensions/Silk.NET.Input.Extensions/MouseState.cs @@ -38,7 +38,7 @@ internal unsafe MouseState(IMouse mouse) } _pressedButtons = (MouseButton*) Marshal.ReAllocHGlobal - ((IntPtr) _pressedButtons, (IntPtr) (_pressedButtonCount * sizeof(MouseButton))); + ((nint) _pressedButtons, (nint) (_pressedButtonCount * sizeof(MouseButton))); var wheels = mouse.ScrollWheels; _scrollWheelCount = wheels.Count; _scrollWheels = (ScrollWheel*) Marshal.AllocHGlobal(_scrollWheelCount * sizeof(ScrollWheel)); @@ -91,9 +91,9 @@ public unsafe bool IsButtonPressed(MouseButton btn) private unsafe void ReleaseUnmanagedResources() { - Marshal.FreeHGlobal((IntPtr) _buttons); - Marshal.FreeHGlobal((IntPtr) _pressedButtons); - Marshal.FreeHGlobal((IntPtr) _scrollWheels); + Marshal.FreeHGlobal((nint) _buttons); + Marshal.FreeHGlobal((nint) _pressedButtons); + Marshal.FreeHGlobal((nint) _scrollWheels); } ~MouseState() diff --git a/src/Input/Extensions/Silk.NET.Input.Extensions/Silk.NET.Input.Extensions.csproj b/src/Input/Extensions/Silk.NET.Input.Extensions/Silk.NET.Input.Extensions.csproj index 95a4ebb7a3..c1db19e150 100644 --- a/src/Input/Extensions/Silk.NET.Input.Extensions/Silk.NET.Input.Extensions.csproj +++ b/src/Input/Extensions/Silk.NET.Input.Extensions/Silk.NET.Input.Extensions.csproj @@ -8,5 +8,7 @@ + + diff --git a/src/Input/Silk.NET.Input.Common/Interfaces/IInputContext.cs b/src/Input/Silk.NET.Input.Common/Interfaces/IInputContext.cs index bdfc8d1e04..9668dc9b03 100644 --- a/src/Input/Silk.NET.Input.Common/Interfaces/IInputContext.cs +++ b/src/Input/Silk.NET.Input.Common/Interfaces/IInputContext.cs @@ -14,9 +14,9 @@ namespace Silk.NET.Input public interface IInputContext : IDisposable { /// - /// A handle to the underlying window. + /// A handle to the underlying input context. /// - IntPtr Handle { get; } + nint Handle { get; } /// /// A list of all available gamepads. diff --git a/src/Input/Silk.NET.Input.Glfw/GlfwInputContext.cs b/src/Input/Silk.NET.Input.Glfw/GlfwInputContext.cs index 525ca11b6f..4fc41d954a 100644 --- a/src/Input/Silk.NET.Input.Glfw/GlfwInputContext.cs +++ b/src/Input/Silk.NET.Input.Glfw/GlfwInputContext.cs @@ -93,7 +93,7 @@ public unsafe void Dispose() } } - public IntPtr Handle { get; } + public nint Handle { get; } public IReadOnlyList Gamepads { get; } public IReadOnlyList Joysticks { get; } public IReadOnlyList Keyboards { get; } diff --git a/src/Input/Silk.NET.Input.Glfw/GlfwInputPlatform.cs b/src/Input/Silk.NET.Input.Glfw/GlfwInputPlatform.cs index e5cf6817ed..92108626f0 100644 --- a/src/Input/Silk.NET.Input.Glfw/GlfwInputPlatform.cs +++ b/src/Input/Silk.NET.Input.Glfw/GlfwInputPlatform.cs @@ -18,7 +18,7 @@ namespace Silk.NET.Input.Glfw /// internal class GlfwInputPlatform : IInputPlatform { - private static readonly Dictionary _subs = new Dictionary(); + private static readonly Dictionary _subs = new Dictionary(); /// public bool IsApplicable(IView window) => window is GlfwWindow; @@ -29,9 +29,9 @@ internal class GlfwInputPlatform : IInputPlatform internal static unsafe void RegisterWindow(WindowHandle* handle, IEnumerable subscribers) { var events = _subs.ContainsKey - ((IntPtr) handle) - ? _subs[(IntPtr) handle] - : _subs[(IntPtr) handle] = new GlfwEvents(handle); + ((nint) handle) + ? _subs[(nint) handle] + : _subs[(nint) handle] = new GlfwEvents(handle); foreach (var subscriber in subscribers) { subscriber.Subscribe(events); @@ -41,9 +41,9 @@ internal static unsafe void RegisterWindow(WindowHandle* handle, IEnumerable subscribers) { var events = _subs.ContainsKey - ((IntPtr) handle) - ? _subs[(IntPtr) handle] - : _subs[(IntPtr) handle] = new GlfwEvents(handle); + ((nint) handle) + ? _subs[(nint) handle] + : _subs[(nint) handle] = new GlfwEvents(handle); foreach (var subscriber in subscribers) { subscriber.Unsubscribe(events); diff --git a/src/Input/Silk.NET.Input.Glfw/GlfwMouse.cs b/src/Input/Silk.NET.Input.Glfw/GlfwMouse.cs index 42708340d7..77e59ecfa2 100644 --- a/src/Input/Silk.NET.Input.Glfw/GlfwMouse.cs +++ b/src/Input/Silk.NET.Input.Glfw/GlfwMouse.cs @@ -66,7 +66,7 @@ public override unsafe bool IsButtonPressed(MouseButton button) public unsafe void Dispose() { - Marshal.FreeHGlobal((IntPtr) _handle); + Marshal.FreeHGlobal((nint) _handle); } public unsafe void Subscribe(GlfwEvents events) diff --git a/src/Input/Silk.NET.Input.Sdl/SdlInputContext.cs b/src/Input/Silk.NET.Input.Sdl/SdlInputContext.cs index 1d0ee6c892..c9336eeb0d 100644 --- a/src/Input/Silk.NET.Input.Sdl/SdlInputContext.cs +++ b/src/Input/Silk.NET.Input.Sdl/SdlInputContext.cs @@ -16,7 +16,7 @@ internal class SdlInputContext : IInputContext { private readonly IView _view; private readonly SdlView _sdlView; // to circumvent CS0122 - private IntPtr _lastHandle; + private nint _lastHandle; public SdlInputContext(SdlView view) { @@ -50,12 +50,12 @@ public SdlInputContext(SdlView view) public Dictionary SdlJoysticks { get; } public SDL.Sdl Sdl => _sdlView.Sdl; - public IntPtr Handle => _view.Handle; + public nint Handle => _view.Handle; public event Action? ConnectionChanged; private void Update(double obj) { - if (_view.Handle == IntPtr.Zero) + if (_view.Handle == 0) { throw new InvalidOperationException("Input update event fired without an underlying window."); } diff --git a/src/Lab/CLMultiplication/CLMultiplication.csproj b/src/Lab/CLMultiplication/CLMultiplication.csproj index 5a0e0983f9..861ac90404 100644 --- a/src/Lab/CLMultiplication/CLMultiplication.csproj +++ b/src/Lab/CLMultiplication/CLMultiplication.csproj @@ -4,6 +4,7 @@ Exe netcoreapp3.1 true + 9 diff --git a/src/Lab/CLMultiplication/Program.cs b/src/Lab/CLMultiplication/Program.cs index 509b62a7fd..759c9d6cac 100644 --- a/src/Lab/CLMultiplication/Program.cs +++ b/src/Lab/CLMultiplication/Program.cs @@ -22,17 +22,17 @@ private static unsafe void Main(string[] args) // OpenCL related declarations int err; - IntPtr platform; - IntPtr device; - var props = stackalloc IntPtr[3]; - props[0] = (IntPtr) CLEnum.ContextPlatform; - props[0] = IntPtr.Zero; - props[0] = IntPtr.Zero; - IntPtr ctx; - IntPtr program; - IntPtr queue; - IntPtr @event = default; - IntPtr kMultiplyby; + nint platform; + nint device; + var props = stackalloc nint[3]; + props[0] = (nint) CLEnum.ContextPlatform; + props[0] = 0; + props[0] = 0; + nint ctx; + nint program; + nint queue; + nint @event = default; + nint kMultiplyby; int i; // OpenCL instantiation @@ -52,7 +52,7 @@ private static unsafe void Main(string[] args) cPtr[i] = coeff * i; } - IntPtr dA; // buffer object for A + nint dA; // buffer object for A /* Setup OpenCL environment. */ err = cl.GetPlatformIDs(1, &platform, null); @@ -76,10 +76,10 @@ private static unsafe void Main(string[] args) catch (Exception ex) { var logsize = UIntPtr.Zero; - cl.GetProgramBuildInfo(program, device, (uint) CLEnum.ProgramBuildLog, UIntPtr.Zero, null, &logsize); - var log = Marshal.AllocHGlobal((IntPtr) logsize.ToPointer()); + cl.GetProgramBuildInfo(program, device, (uint) CLEnum.ProgramBuildLog, 0, null, &logsize); + var log = Marshal.AllocHGlobal((nint) logsize.ToPointer()); cl.GetProgramBuildInfo - (program, device, (uint) CLEnum.ProgramBuildLog, logsize, log.ToPointer(), (UIntPtr*) null); + (program, device, (uint) CLEnum.ProgramBuildLog, logsize, log.ToPointer(), (nuint*) null); throw new Exception(Marshal.PtrToStringAnsi(log), ex); } @@ -87,26 +87,26 @@ private static unsafe void Main(string[] args) AssertZero(err); // initialize buffer with data - dA = cl.CreateBuffer(ctx, CLEnum.MemReadWrite, (UIntPtr) (n * sizeof(int)), null, &err); + dA = cl.CreateBuffer(ctx, CLEnum.MemReadWrite, (nuint) (n * sizeof(int)), null, &err); AssertZero(err); err = cl.EnqueueWriteBuffer - (queue, dA, true, (UIntPtr) 0, (UIntPtr) (n * sizeof(int)), a, 0, null, (IntPtr*) null); + (queue, dA, true, (nuint) 0, (nuint) (n * sizeof(int)), a, 0, null, (nint*) null); AssertZero(err); - cl.SetKernelArg(kMultiplyby, 0, (UIntPtr) sizeof(void*), &dA); + cl.SetKernelArg(kMultiplyby, 0, (nuint) sizeof(void*), &dA); var c = 0; for (c = 2; c <= cMax; c++) { - cl.SetKernelArg(kMultiplyby, 1, (UIntPtr) sizeof(int), &c); - cl.EnqueueNdrangeKernel(queue, kMultiplyby, 1, null, (UIntPtr*) &n, (UIntPtr*) &n, 0u, null, null); + cl.SetKernelArg(kMultiplyby, 1, (nuint) sizeof(int), &c); + cl.EnqueueNdrangeKernel(queue, kMultiplyby, 1, null, (nuint*) &n, (nuint*) &n, 0u, null, null); } err = cl.Finish(queue); AssertZero(err); err = cl.EnqueueReadBuffer - (queue, dA, true, (UIntPtr) 0, (UIntPtr) (n * sizeof(int)), b, 0, null, (IntPtr*) null); + (queue, dA, true, (nuint) 0, (nuint) (n * sizeof(int)), b, 0, null, (nint*) null); AssertZero(err); err = cl.Finish(queue); AssertZero(err); @@ -137,9 +137,9 @@ private static void AssertZero(int i) } } - private static unsafe void NotifyFunc(byte* errinfo, void* privateinfo, UIntPtr cb, void* userdata) + private static unsafe void NotifyFunc(byte* errinfo, void* privateinfo, nuint cb, void* userdata) { - Console.WriteLine($"Notification: {Marshal.PtrToStringAnsi((IntPtr) errinfo)}"); + Console.WriteLine($"Notification: {Marshal.PtrToStringAnsi((nint) errinfo)}"); } } } diff --git a/src/Lab/CoreRTTest/BufferObject.cs b/src/Lab/CoreRTTest/BufferObject.cs index dba6db47e2..52031cb483 100644 --- a/src/Lab/CoreRTTest/BufferObject.cs +++ b/src/Lab/CoreRTTest/BufferObject.cs @@ -19,7 +19,7 @@ public unsafe BufferObject(GL gl, Span data, BufferTargetARB bufferTy Bind(); fixed (void* d = data) { - _gl.BufferData(bufferType, (UIntPtr)(data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); + _gl.BufferData(bufferType, (nuint)(data.Length * sizeof(TDataType)), d, BufferUsageARB.StaticDraw); } } diff --git a/src/Lab/TestLib/Class1.cs b/src/Lab/TestLib/Class1.cs index 73b75efde2..87c2e749f2 100644 --- a/src/Lab/TestLib/Class1.cs +++ b/src/Lab/TestLib/Class1.cs @@ -22,26 +22,26 @@ public partial class TestClass2 : NativeApiContainer [Inject(SilkTouchStage.PreLoad, "System.Console.WriteLine(\"Stage: PreLoad\");")] [Inject(SilkTouchStage.PostLoad, "System.Console.WriteLine(\"Stage: PostLoad\");")] [Inject(SilkTouchStage.End, "System.Console.WriteLine(\"Stage: End\");")] - public unsafe partial int MessageBox(IntPtr hwnd, char* text, char* caption, uint buttons); + public unsafe partial int MessageBox(nint hwnd, char* text, char* caption, uint buttons); [NativeApi(EntryPoint = "MessageBoxA")] - public partial int MessageBox(IntPtr hwnd, string text, string caption, uint buttons); + public partial int MessageBox(nint hwnd, string text, string caption, uint buttons); [NativeApi(EntryPoint = "MessageBoxA")] - public partial int MessageBox(IntPtr hwnd, string text, string caption, + public partial int MessageBox(nint hwnd, string text, string caption, [UnmanagedType(UnmanagedType.U4)] bool buttons); [NativeApi(EntryPoint = "MessageBoxA")] - public partial int MessageBox(IntPtr hwnd, string text, Span caption, uint buttons); + public partial int MessageBox(nint hwnd, string text, Span caption, uint buttons); [NativeApi(EntryPoint = "MessageBoxA")] - public unsafe partial int MessageBox(IntPtr hwnd, string text, char* caption, uint buttons); + public unsafe partial int MessageBox(nint hwnd, string text, char* caption, uint buttons); [NativeApi(EntryPoint = "MessageBoxA")] [ExcludeFromOverride(1)] - public partial int MessageBox(IntPtr hwnd, string text, Span caption, uint buttons) where T:unmanaged; + public partial int MessageBox(nint hwnd, string text, Span caption, uint buttons) where T:unmanaged; - public unsafe partial IntPtr CreateWindowExA( + public unsafe partial nint CreateWindowExA( uint dwExStyle, string lpClassName, string lpWindowName, @@ -50,9 +50,9 @@ public unsafe partial IntPtr CreateWindowExA( int Y, int nWidth, int nHeight, - IntPtr hWndParent, - IntPtr hMenu, - IntPtr hInstance, + nint hWndParent, + nint hMenu, + nint hInstance, void* lpParam ); diff --git a/src/Lab/Triangle/Program.cs b/src/Lab/Triangle/Program.cs index 6d99cea39e..238b7d2bba 100644 --- a/src/Lab/Triangle/Program.cs +++ b/src/Lab/Triangle/Program.cs @@ -82,7 +82,7 @@ private static unsafe void Load() fixed (float* vertices = _vertices) { _gl.BufferData - (GLEnum.ArrayBuffer, (UIntPtr)( _vertices.Length * sizeof(float)), vertices, GLEnum.StaticDraw); + (GLEnum.ArrayBuffer, (nuint)( _vertices.Length * sizeof(float)), vertices, GLEnum.StaticDraw); } _shader = new Shader("Triangle.shader.vert", "Triangle.shader.frag", _gl, typeof(Program)); @@ -105,7 +105,7 @@ private static void WindowOnUpdate(double obj) } private static void OnDebug - (GLEnum source, GLEnum type, int id, GLEnum severity, int length, IntPtr message, IntPtr userparam) + (GLEnum source, GLEnum type, int id, GLEnum severity, int length, nint message, nint userparam) { Console.WriteLine ( diff --git a/src/Lab/VulkanTriangle/HelloTriangleApplication.cs b/src/Lab/VulkanTriangle/HelloTriangleApplication.cs index 5d691aad37..6198aca54a 100644 --- a/src/Lab/VulkanTriangle/HelloTriangleApplication.cs +++ b/src/Lab/VulkanTriangle/HelloTriangleApplication.cs @@ -279,12 +279,12 @@ private unsafe void CreateInstance() throw new NotSupportedException("KHR_surface extension not found."); } - Marshal.FreeHGlobal((IntPtr) appInfo.PApplicationName); - Marshal.FreeHGlobal((IntPtr) appInfo.PEngineName); + Marshal.FreeHGlobal((nint) appInfo.PApplicationName); + Marshal.FreeHGlobal((nint) appInfo.PEngineName); if (EnableValidationLayers) { - SilkMarshal.Free((IntPtr) createInfo.PpEnabledLayerNames); + SilkMarshal.Free((nint) createInfo.PpEnabledLayerNames); } } @@ -327,7 +327,7 @@ private unsafe uint DebugCallback ) { Console.WriteLine - ($"{messageSeverity} {messageTypes}" + Marshal.PtrToStringAnsi((IntPtr) pCallbackData->PMessage)); + ($"{messageSeverity} {messageTypes}" + Marshal.PtrToStringAnsi((nint) pCallbackData->PMessage)); return Vk.False; } @@ -361,7 +361,7 @@ private unsafe void PickPhysicalDevice() return indices.IsComplete() && extensionsSupported && swapChainAdequate; }); - if (_physicalDevice.Handle == IntPtr.Zero) + if (_physicalDevice.Handle == 0) throw new Exception("No suitable device."); } @@ -547,6 +547,8 @@ private unsafe void CreateLogicalDevice() { throw new NotSupportedException("KHR_swapchain extension not found."); } + + Console.WriteLine($"{_vk.CurrentInstance?.Handle} {_vk.CurrentDevice?.Handle}"); } private unsafe void CreateSwapChain() @@ -922,7 +924,7 @@ private unsafe ShaderModule CreateShaderModule(byte[] code) var createInfo = new ShaderModuleCreateInfo { SType = StructureType.ShaderModuleCreateInfo, - CodeSize = new UIntPtr((uint) code.Length) + CodeSize = (nuint) code.Length }; fixed (byte* codePtr = code) { @@ -1088,7 +1090,7 @@ private unsafe bool CheckValidationLayerSupport() foreach (var layerProperties in availableLayers) { - if (layerName == Marshal.PtrToStringAnsi((IntPtr) layerProperties.LayerName)) + if (layerName == Marshal.PtrToStringAnsi((nint) layerProperties.LayerName)) { layerFound = true; break; diff --git a/src/Lab/VulkanTriangle/VulkanTriangle.csproj b/src/Lab/VulkanTriangle/VulkanTriangle.csproj index 9f1b0db224..12ecd46bf1 100644 --- a/src/Lab/VulkanTriangle/VulkanTriangle.csproj +++ b/src/Lab/VulkanTriangle/VulkanTriangle.csproj @@ -4,6 +4,7 @@ Exe netcoreapp3.1 true + 9 diff --git a/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag.gen.cs b/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag.gen.cs index d46829056b..645b883088 100644 --- a/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag.gen.cs @@ -21,6 +21,6 @@ public enum AdapterFlag : int [NativeName("Name", "DXGI_ADAPTER_FLAG_SOFTWARE")] AdapterFlagSoftware = 0x2, [NativeName("Name", "DXGI_ADAPTER_FLAG_FORCE_DWORD")] - AdapterFlagForceDword = unchecked((int)0xFFFFFFFFFFFFFFFF), + AdapterFlagForceDword = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag3.gen.cs b/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag3.gen.cs index 273834381c..b1d7ea4755 100644 --- a/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag3.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Enums/AdapterFlag3.gen.cs @@ -29,6 +29,6 @@ public enum AdapterFlag3 : int [NativeName("Name", "DXGI_ADAPTER_FLAG3_KEYED_MUTEX_CONFORMANCE")] AdapterFlag3KeyedMutexConformance = 0x20, [NativeName("Name", "DXGI_ADAPTER_FLAG3_FORCE_DWORD")] - AdapterFlag3ForceDword = unchecked((int)0xFFFFFFFFFFFFFFFF), + AdapterFlag3ForceDword = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.DXGI/Enums/AlphaMode.gen.cs b/src/Microsoft/Silk.NET.DXGI/Enums/AlphaMode.gen.cs index 789ba9d389..fae816d5cc 100644 --- a/src/Microsoft/Silk.NET.DXGI/Enums/AlphaMode.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Enums/AlphaMode.gen.cs @@ -23,6 +23,6 @@ public enum AlphaMode : int [NativeName("Name", "DXGI_ALPHA_MODE_IGNORE")] AlphaModeIgnore = 0x3, [NativeName("Name", "DXGI_ALPHA_MODE_FORCE_DWORD")] - AlphaModeForceDword = unchecked((int)0xFFFFFFFFFFFFFFFF), + AlphaModeForceDword = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.DXGI/Enums/ColorSpaceType.gen.cs b/src/Microsoft/Silk.NET.DXGI/Enums/ColorSpaceType.gen.cs index 3d766c3392..9434f4738e 100644 --- a/src/Microsoft/Silk.NET.DXGI/Enums/ColorSpaceType.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Enums/ColorSpaceType.gen.cs @@ -65,6 +65,6 @@ public enum ColorSpaceType : int [NativeName("Name", "DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020")] ColorSpaceYcbcrStudioG24TopleftP2020 = 0x18, [NativeName("Name", "DXGI_COLOR_SPACE_CUSTOM")] - ColorSpaceCustom = unchecked((int)0xFFFFFFFFFFFFFFFF), + ColorSpaceCustom = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.DXGI/Enums/Format.gen.cs b/src/Microsoft/Silk.NET.DXGI/Enums/Format.gen.cs index 86563a524f..2fb6550af6 100644 --- a/src/Microsoft/Silk.NET.DXGI/Enums/Format.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Enums/Format.gen.cs @@ -257,6 +257,6 @@ public enum Format : int [NativeName("Name", "DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE")] FormatSamplerFeedbackMipRegionUsedOpaque = 0xBE, [NativeName("Name", "DXGI_FORMAT_FORCE_UINT")] - FormatForceUint = unchecked((int)0xFFFFFFFFFFFFFFFF), + FormatForceUint = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory.gen.cs index 8006253c63..569d66b306 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory.gen.cs @@ -384,31 +384,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -522,22 +522,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory1.gen.cs index 2aed2229d1..9657776476 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory1.gen.cs @@ -387,31 +387,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -525,22 +525,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory2.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory2.gen.cs index 02e3bdce9e..405093d43c 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory2.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory2.gen.cs @@ -390,31 +390,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -528,22 +528,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -588,40 +588,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -629,26 +629,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -656,14 +656,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -671,14 +671,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -688,7 +688,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -696,19 +696,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -716,14 +716,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -731,14 +731,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -748,7 +748,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -756,7 +756,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -764,14 +764,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -781,7 +781,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -789,7 +789,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -799,7 +799,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -807,7 +807,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -819,7 +819,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -828,19 +828,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -848,14 +848,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -863,14 +863,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -880,7 +880,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -888,7 +888,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -896,14 +896,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -913,7 +913,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -921,7 +921,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -931,7 +931,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -939,7 +939,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -951,7 +951,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -960,7 +960,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -968,14 +968,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -985,7 +985,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -993,7 +993,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1003,7 +1003,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1011,7 +1011,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1023,7 +1023,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1032,7 +1032,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1042,7 +1042,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1050,7 +1050,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1062,7 +1062,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1071,7 +1071,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1083,7 +1083,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1092,7 +1092,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1106,7 +1106,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1692,22 +1692,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1768,22 +1768,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory3.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory3.gen.cs index 100c4caec0..b09fb0eebe 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory3.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory3.gen.cs @@ -393,31 +393,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -531,22 +531,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -591,40 +591,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -632,26 +632,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -659,14 +659,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -674,14 +674,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -691,7 +691,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -699,19 +699,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -719,14 +719,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -734,14 +734,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -751,7 +751,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -759,7 +759,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -767,14 +767,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -784,7 +784,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -792,7 +792,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -802,7 +802,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -810,7 +810,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -822,7 +822,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -831,19 +831,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -851,14 +851,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -866,14 +866,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -883,7 +883,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -891,7 +891,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -899,14 +899,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -916,7 +916,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -924,7 +924,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -934,7 +934,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -942,7 +942,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -954,7 +954,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -963,7 +963,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -971,14 +971,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -988,7 +988,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -996,7 +996,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1006,7 +1006,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1014,7 +1014,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1026,7 +1026,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1035,7 +1035,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1045,7 +1045,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1053,7 +1053,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1065,7 +1065,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1074,7 +1074,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1086,7 +1086,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1095,7 +1095,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1109,7 +1109,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1695,22 +1695,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1771,22 +1771,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory4.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory4.gen.cs index 8a2d960dc2..0511300ada 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory4.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory4.gen.cs @@ -396,31 +396,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -534,22 +534,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -594,40 +594,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -635,26 +635,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -662,14 +662,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -677,14 +677,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -694,7 +694,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -702,19 +702,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -722,14 +722,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -737,14 +737,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -754,7 +754,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -762,7 +762,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -770,14 +770,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -787,7 +787,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -795,7 +795,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -805,7 +805,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -813,7 +813,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -825,7 +825,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -834,19 +834,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -854,14 +854,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -869,14 +869,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -886,7 +886,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -894,7 +894,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -902,14 +902,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -919,7 +919,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -927,7 +927,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -937,7 +937,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -945,7 +945,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -957,7 +957,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -966,7 +966,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -974,14 +974,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -991,7 +991,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -999,7 +999,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1009,7 +1009,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1017,7 +1017,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1029,7 +1029,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1038,7 +1038,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1048,7 +1048,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1056,7 +1056,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1068,7 +1068,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1077,7 +1077,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1089,7 +1089,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1098,7 +1098,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1112,7 +1112,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1698,22 +1698,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1774,22 +1774,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory5.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory5.gen.cs index 71410da172..85fa58e2c8 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory5.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory5.gen.cs @@ -399,31 +399,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -537,22 +537,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -597,40 +597,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -638,26 +638,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -665,14 +665,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -680,14 +680,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -697,7 +697,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -705,19 +705,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -725,14 +725,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -740,14 +740,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -757,7 +757,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -765,7 +765,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -773,14 +773,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -790,7 +790,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -798,7 +798,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -808,7 +808,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -816,7 +816,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -828,7 +828,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -837,19 +837,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -857,14 +857,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -872,14 +872,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -889,7 +889,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -897,7 +897,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -905,14 +905,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -922,7 +922,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -930,7 +930,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -940,7 +940,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -948,7 +948,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -960,7 +960,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -969,7 +969,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -977,14 +977,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -994,7 +994,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1002,7 +1002,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1012,7 +1012,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1020,7 +1020,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1032,7 +1032,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1041,7 +1041,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1051,7 +1051,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1059,7 +1059,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1071,7 +1071,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1080,7 +1080,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1092,7 +1092,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1101,7 +1101,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1115,7 +1115,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1701,22 +1701,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1777,22 +1777,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory5*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory6.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory6.gen.cs index c8f5b86b36..9dacd5b901 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory6.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory6.gen.cs @@ -402,31 +402,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -540,22 +540,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -600,40 +600,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -641,26 +641,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -668,14 +668,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -683,14 +683,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -700,7 +700,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -708,19 +708,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -728,14 +728,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -743,14 +743,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -760,7 +760,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -768,7 +768,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -776,14 +776,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -793,7 +793,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -801,7 +801,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -811,7 +811,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -819,7 +819,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -831,7 +831,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -840,19 +840,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -860,14 +860,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -875,14 +875,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -892,7 +892,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -900,7 +900,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -908,14 +908,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -925,7 +925,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -933,7 +933,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -943,7 +943,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -951,7 +951,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -963,7 +963,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -972,7 +972,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -980,14 +980,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -997,7 +997,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1005,7 +1005,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1015,7 +1015,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1023,7 +1023,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1035,7 +1035,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1044,7 +1044,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1054,7 +1054,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1062,7 +1062,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1074,7 +1074,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1083,7 +1083,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1095,7 +1095,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1104,7 +1104,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1118,7 +1118,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1704,22 +1704,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1780,22 +1780,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory6*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory7.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory7.gen.cs index 8baf10bb50..b578f98c9e 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory7.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory7.gen.cs @@ -405,31 +405,31 @@ public readonly unsafe int EnumAdapters(uint Adapter, ref Silk.NET.DXGI.IDXGIAda } /// To be documented. - public readonly int MakeWindowAssociation(IntPtr WindowHandle, uint Flags) + public readonly int MakeWindowAssociation(nint WindowHandle, uint Flags) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, WindowHandle, Flags); return ret; } /// To be documented. - public readonly unsafe int GetWindowAssociation(IntPtr* pWindowHandle) + public readonly unsafe int GetWindowAssociation(nint* pWindowHandle) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandle); return ret; } /// To be documented. - public readonly int GetWindowAssociation(ref IntPtr pWindowHandle) + public readonly int GetWindowAssociation(ref nint pWindowHandle) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pWindowHandlePtr = &pWindowHandle) + fixed (nint* pWindowHandlePtr = &pWindowHandle) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pWindowHandlePtr); } return ret; } @@ -543,22 +543,22 @@ public readonly unsafe int CreateSwapChain(ref Silk.NET.Core.Native.IUnknown pDe } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, Silk.NET.DXGI.IDXGIAdapter** ppAdapter) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapter); return ret; } /// To be documented. - public readonly unsafe int CreateSoftwareAdapter(IntPtr Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) + public readonly unsafe int CreateSoftwareAdapter(nint Module, ref Silk.NET.DXGI.IDXGIAdapter* ppAdapter) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.DXGI.IDXGIAdapter** ppAdapterPtr = &ppAdapter) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Module, ppAdapterPtr); } return ret; } @@ -603,40 +603,40 @@ public readonly int IsWindowedStereoEnabled() } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -644,26 +644,26 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -671,14 +671,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -686,14 +686,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -703,7 +703,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -711,19 +711,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -731,14 +731,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -746,14 +746,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -763,7 +763,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -771,7 +771,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -779,14 +779,14 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -796,7 +796,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -804,7 +804,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -814,7 +814,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -822,7 +822,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -834,7 +834,7 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevice, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -843,19 +843,19 @@ public readonly unsafe int CreateSwapChainForHwnd(Silk.NET.Core.Native.IUnknown* } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (Silk.NET.Core.Native.IUnknown* pDevicePtr = &pDevice) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -863,14 +863,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -878,14 +878,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -895,7 +895,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -903,7 +903,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -911,14 +911,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -928,7 +928,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -936,7 +936,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -946,7 +946,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -954,7 +954,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, SwapChainDesc1* pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -966,7 +966,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDesc, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -975,7 +975,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -983,14 +983,14 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainDesc1* pDescPtr = &pDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } } return ret; } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1000,7 +1000,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1008,7 +1008,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1018,7 +1018,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1026,7 +1026,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, SwapChainFullscreenDesc* pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1038,7 +1038,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDesc, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1047,7 +1047,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1057,7 +1057,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (SwapChainFullscreenDesc* pFullscreenDescPtr = &pFullscreenDesc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChain); } } } @@ -1065,7 +1065,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, IDXGIOutput* pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1077,7 +1077,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutput, ppSwapChainPtr); } } } @@ -1086,7 +1086,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, IDXGISwapChain1** ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1098,7 +1098,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGIOutput* pRestrictToOutputPtr = &pRestrictToOutput) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChain); } } } @@ -1107,7 +1107,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn } /// To be documented. - public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, IntPtr hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) + public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnknown pDevice, nint hWnd, ref SwapChainDesc1 pDesc, ref SwapChainFullscreenDesc pFullscreenDesc, ref IDXGIOutput pRestrictToOutput, ref IDXGISwapChain1* ppSwapChain) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -1121,7 +1121,7 @@ public readonly unsafe int CreateSwapChainForHwnd(ref Silk.NET.Core.Native.IUnkn { fixed (IDXGISwapChain1** ppSwapChainPtr = &ppSwapChain) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, pDevicePtr, hWnd, pDescPtr, pFullscreenDescPtr, pRestrictToOutputPtr, ppSwapChainPtr); } } } @@ -1707,22 +1707,22 @@ public readonly int GetSharedResourceAdapterLuid(ref T0 hResource, ref Value } /// To be documented. - public readonly unsafe int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterStereoStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[18])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } @@ -1783,22 +1783,22 @@ public readonly void UnregisterStereoStatus(uint dwCookie) } /// To be documented. - public readonly unsafe int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) + public readonly unsafe int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, uint* pdwCookie) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookie); return ret; } /// To be documented. - public readonly int RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, ref uint pdwCookie) + public readonly int RegisterOcclusionStatusWindow(nint WindowHandle, uint wMsg, ref uint pdwCookie) { var @this = (IDXGIFactory7*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (uint* pdwCookiePtr = &pdwCookie) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[21])(@this, WindowHandle, wMsg, pdwCookiePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIInfoQueue.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIInfoQueue.gen.cs index 961b622d23..3df4b8dcbf 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIInfoQueue.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIInfoQueue.gen.cs @@ -533,7 +533,7 @@ public readonly int AddMessage(Guid Producer, InfoQueueMessageCategory Category, int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[30])(@this, Producer, Category, Severity, ID, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } @@ -565,7 +565,7 @@ public readonly int AddApplicationMessage(InfoQueueMessageSeverity Severity, str int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, Severity, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIResource1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIResource1.gen.cs index bdadad71b5..2847723cb5 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIResource1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGIResource1.gen.cs @@ -564,7 +564,7 @@ public readonly unsafe int CreateSharedHandle(Silk.NET.Core.Native.SecurityAttri int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pAttributes, dwAccess, lpNamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -578,7 +578,7 @@ public readonly unsafe int CreateSharedHandle(Silk.NET.Core.Native.SecurityAttri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pAttributes, dwAccess, lpNamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -651,7 +651,7 @@ public readonly unsafe int CreateSharedHandle(ref Silk.NET.Core.Native.SecurityA { var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pAttributesPtr, dwAccess, lpNamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); } return ret; } @@ -668,7 +668,7 @@ public readonly unsafe int CreateSharedHandle(ref Silk.NET.Core.Native.SecurityA { ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pAttributesPtr, dwAccess, lpNamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface1.gen.cs index 0409bd21ab..62f0bb608e 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface1.gen.cs @@ -468,22 +468,22 @@ public readonly int Unmap() } /// To be documented. - public readonly unsafe int GetDC(int Discard, IntPtr* phdc) + public readonly unsafe int GetDC(int Discard, nint* phdc) { var @this = (IDXGISurface1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdc); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdc); return ret; } /// To be documented. - public readonly int GetDC(int Discard, ref IntPtr phdc) + public readonly int GetDC(int Discard, ref nint phdc) { var @this = (IDXGISurface1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* phdcPtr = &phdc) + fixed (nint* phdcPtr = &phdc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdcPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdcPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface2.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface2.gen.cs index 37dbb82ee7..9c079c81a5 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface2.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISurface2.gen.cs @@ -471,22 +471,22 @@ public readonly int Unmap() } /// To be documented. - public readonly unsafe int GetDC(int Discard, IntPtr* phdc) + public readonly unsafe int GetDC(int Discard, nint* phdc) { var @this = (IDXGISurface2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdc); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdc); return ret; } /// To be documented. - public readonly int GetDC(int Discard, ref IntPtr phdc) + public readonly int GetDC(int Discard, ref nint phdc) { var @this = (IDXGISurface2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* phdcPtr = &phdc) + fixed (nint* phdcPtr = &phdc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdcPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, Discard, phdcPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain1.gen.cs index 3bcb7f056b..7833235e62 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain1.gen.cs @@ -699,22 +699,22 @@ public readonly int GetFullscreenDesc(ref SwapChainFullscreenDesc pDesc) } /// To be documented. - public readonly unsafe int GetHwnd(IntPtr* pHwnd) + public readonly unsafe int GetHwnd(nint* pHwnd) { var @this = (IDXGISwapChain1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); return ret; } /// To be documented. - public readonly int GetHwnd(ref IntPtr pHwnd) + public readonly int GetHwnd(ref nint pHwnd) { var @this = (IDXGISwapChain1*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pHwndPtr = &pHwnd) + fixed (nint* pHwndPtr = &pHwnd) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain2.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain2.gen.cs index c51e93e95b..14185a765e 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain2.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain2.gen.cs @@ -702,22 +702,22 @@ public readonly int GetFullscreenDesc(ref SwapChainFullscreenDesc pDesc) } /// To be documented. - public readonly unsafe int GetHwnd(IntPtr* pHwnd) + public readonly unsafe int GetHwnd(nint* pHwnd) { var @this = (IDXGISwapChain2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); return ret; } /// To be documented. - public readonly int GetHwnd(ref IntPtr pHwnd) + public readonly int GetHwnd(ref nint pHwnd) { var @this = (IDXGISwapChain2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pHwndPtr = &pHwnd) + fixed (nint* pHwndPtr = &pHwnd) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain3.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain3.gen.cs index b49cc26984..e89fdc00ea 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain3.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain3.gen.cs @@ -705,22 +705,22 @@ public readonly int GetFullscreenDesc(ref SwapChainFullscreenDesc pDesc) } /// To be documented. - public readonly unsafe int GetHwnd(IntPtr* pHwnd) + public readonly unsafe int GetHwnd(nint* pHwnd) { var @this = (IDXGISwapChain3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); return ret; } /// To be documented. - public readonly int GetHwnd(ref IntPtr pHwnd) + public readonly int GetHwnd(ref nint pHwnd) { var @this = (IDXGISwapChain3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pHwndPtr = &pHwnd) + fixed (nint* pHwndPtr = &pHwnd) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain4.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain4.gen.cs index 0c5ecd1025..e611b3f895 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain4.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/IDXGISwapChain4.gen.cs @@ -708,22 +708,22 @@ public readonly int GetFullscreenDesc(ref SwapChainFullscreenDesc pDesc) } /// To be documented. - public readonly unsafe int GetHwnd(IntPtr* pHwnd) + public readonly unsafe int GetHwnd(nint* pHwnd) { var @this = (IDXGISwapChain4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwnd); return ret; } /// To be documented. - public readonly int GetHwnd(ref IntPtr pHwnd) + public readonly int GetHwnd(ref nint pHwnd) { var @this = (IDXGISwapChain4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* pHwndPtr = &pHwnd) + fixed (nint* pHwndPtr = &pHwnd) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[20])(@this, pHwndPtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs index 2f641880f8..d66535a026 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc.gen.cs @@ -26,7 +26,7 @@ public OutputDesc Silk.NET.Maths.Rectangle? desktopCoordinates = null, int? attachedToDesktop = null, ModeRotation? rotation = null, - IntPtr? monitor = null + nint? monitor = null ) : this() { if (desktopCoordinates is not null) @@ -73,6 +73,6 @@ public OutputDesc [NativeName("Type", "HMONITOR")] [NativeName("Type.Name", "HMONITOR")] [NativeName("Name", "Monitor")] - public IntPtr Monitor; + public nint Monitor; } } diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs index f38d024baf..eb0553470a 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/OutputDesc1.gen.cs @@ -26,7 +26,7 @@ public OutputDesc1 Silk.NET.Maths.Rectangle? desktopCoordinates = null, int? attachedToDesktop = null, ModeRotation? rotation = null, - IntPtr? monitor = null, + nint? monitor = null, uint? bitsPerColor = null, ColorSpaceType? colorSpace = null, float? minLuminance = null, @@ -103,7 +103,7 @@ public OutputDesc1 [NativeName("Type", "HMONITOR")] [NativeName("Type.Name", "HMONITOR")] [NativeName("Name", "Monitor")] - public IntPtr Monitor; + public nint Monitor; [NativeName("Type", "UINT")] [NativeName("Type.Name", "UINT")] diff --git a/src/Microsoft/Silk.NET.DXGI/Structs/SwapChainDesc.gen.cs b/src/Microsoft/Silk.NET.DXGI/Structs/SwapChainDesc.gen.cs index e4dbd4fe8a..c1378eac78 100644 --- a/src/Microsoft/Silk.NET.DXGI/Structs/SwapChainDesc.gen.cs +++ b/src/Microsoft/Silk.NET.DXGI/Structs/SwapChainDesc.gen.cs @@ -27,7 +27,7 @@ public SwapChainDesc SampleDesc? sampleDesc = null, uint? bufferUsage = null, uint? bufferCount = null, - IntPtr? outputWindow = null, + nint? outputWindow = null, int? windowed = null, SwapEffect? swapEffect = null, uint? flags = null @@ -98,7 +98,7 @@ public SwapChainDesc [NativeName("Type", "HWND")] [NativeName("Type.Name", "HWND")] [NativeName("Name", "OutputWindow")] - public IntPtr OutputWindow; + public nint OutputWindow; [NativeName("Type", "BOOL")] [NativeName("Type.Name", "BOOL")] diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler.gen.cs index e2e32780e5..b431fd3057 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler.gen.cs @@ -642,7 +642,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p int ret = default; var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -656,7 +656,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -670,7 +670,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -687,7 +687,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -701,7 +701,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -718,7 +718,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -735,7 +735,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -755,7 +755,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -769,7 +769,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -786,7 +786,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -803,7 +803,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -823,7 +823,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -840,7 +840,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -860,7 +860,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -880,7 +880,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -903,7 +903,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -1540,7 +1540,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1557,7 +1557,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1574,7 +1574,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1594,7 +1594,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1611,7 +1611,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1631,7 +1631,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1651,7 +1651,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1674,7 +1674,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1691,7 +1691,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1711,7 +1711,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1731,7 +1731,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1754,7 +1754,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1774,7 +1774,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1797,7 +1797,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1820,7 +1820,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1846,7 +1846,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1858,7 +1858,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string int ret = default; var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1872,7 +1872,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1886,7 +1886,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1903,7 +1903,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1917,7 +1917,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1934,7 +1934,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1951,7 +1951,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1971,7 +1971,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1985,7 +1985,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2002,7 +2002,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2019,7 +2019,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2039,7 +2039,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2056,7 +2056,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2076,7 +2076,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2096,7 +2096,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2119,7 +2119,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2133,7 +2133,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2150,7 +2150,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2167,7 +2167,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2187,7 +2187,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2204,7 +2204,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2224,7 +2224,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2244,7 +2244,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2267,7 +2267,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2284,7 +2284,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2304,7 +2304,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2324,7 +2324,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2347,7 +2347,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2367,7 +2367,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2390,7 +2390,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2413,7 +2413,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2439,7 +2439,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2451,8 +2451,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2467,8 +2467,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2483,8 +2483,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2502,8 +2502,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2518,8 +2518,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2537,8 +2537,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2556,8 +2556,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2578,8 +2578,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2594,8 +2594,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2613,8 +2613,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2632,8 +2632,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2654,8 +2654,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2673,8 +2673,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2695,8 +2695,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2717,8 +2717,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2742,8 +2742,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -3380,7 +3380,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3397,7 +3397,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3414,7 +3414,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3434,7 +3434,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3451,7 +3451,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3471,7 +3471,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3491,7 +3491,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3514,7 +3514,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3531,7 +3531,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3551,7 +3551,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3571,7 +3571,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3594,7 +3594,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3614,7 +3614,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3637,7 +3637,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3660,7 +3660,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3686,7 +3686,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -4422,7 +4422,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4442,7 +4442,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4462,7 +4462,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4485,7 +4485,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4505,7 +4505,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4528,7 +4528,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4551,7 +4551,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4577,7 +4577,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4597,7 +4597,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4620,7 +4620,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4643,7 +4643,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4669,7 +4669,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4692,7 +4692,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4718,7 +4718,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4744,7 +4744,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4773,7 +4773,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4788,7 +4788,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4805,7 +4805,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4822,7 +4822,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4842,7 +4842,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4859,7 +4859,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4879,7 +4879,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4899,7 +4899,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4922,7 +4922,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4939,7 +4939,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4959,7 +4959,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4979,7 +4979,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5002,7 +5002,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5022,7 +5022,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5045,7 +5045,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5068,7 +5068,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5094,7 +5094,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5111,7 +5111,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5131,7 +5131,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5151,7 +5151,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5174,7 +5174,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5194,7 +5194,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5217,7 +5217,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5240,7 +5240,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5266,7 +5266,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5286,7 +5286,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5309,7 +5309,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5332,7 +5332,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5358,7 +5358,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5381,7 +5381,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5407,7 +5407,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5433,7 +5433,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5462,7 +5462,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5477,8 +5477,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5496,8 +5496,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5515,8 +5515,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5537,8 +5537,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5556,8 +5556,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5578,8 +5578,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5600,8 +5600,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5625,8 +5625,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5644,8 +5644,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5666,8 +5666,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5688,8 +5688,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5713,8 +5713,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5735,8 +5735,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5760,8 +5760,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5785,8 +5785,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5813,8 +5813,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5826,7 +5826,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* int ret = default; var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5840,7 +5840,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5854,7 +5854,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5871,7 +5871,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5885,7 +5885,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5902,7 +5902,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5919,7 +5919,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5939,7 +5939,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5953,7 +5953,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5970,7 +5970,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5987,7 +5987,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6007,7 +6007,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6024,7 +6024,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6044,7 +6044,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6064,7 +6064,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6087,7 +6087,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6101,7 +6101,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6118,7 +6118,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6135,7 +6135,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6155,7 +6155,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6172,7 +6172,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6192,7 +6192,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6212,7 +6212,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6235,7 +6235,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6252,7 +6252,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6272,7 +6272,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6292,7 +6292,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6315,7 +6315,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6335,7 +6335,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6358,7 +6358,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6381,7 +6381,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6407,7 +6407,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6419,8 +6419,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6435,8 +6435,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6451,8 +6451,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6470,8 +6470,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6486,8 +6486,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6505,8 +6505,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6524,8 +6524,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6546,8 +6546,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6562,8 +6562,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6581,8 +6581,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6600,8 +6600,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6622,8 +6622,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6641,8 +6641,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6663,8 +6663,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6685,8 +6685,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6710,8 +6710,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6725,7 +6725,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6742,7 +6742,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6759,7 +6759,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6779,7 +6779,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6796,7 +6796,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6816,7 +6816,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6836,7 +6836,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6859,7 +6859,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6876,7 +6876,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6896,7 +6896,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6916,7 +6916,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6939,7 +6939,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6959,7 +6959,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6982,7 +6982,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7005,7 +7005,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7031,7 +7031,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7048,7 +7048,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7068,7 +7068,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7088,7 +7088,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7111,7 +7111,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7131,7 +7131,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7154,7 +7154,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7177,7 +7177,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7203,7 +7203,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7223,7 +7223,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7246,7 +7246,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7269,7 +7269,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7295,7 +7295,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7318,7 +7318,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7344,7 +7344,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7370,7 +7370,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7399,7 +7399,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7413,9 +7413,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7432,9 +7432,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7451,9 +7451,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7473,9 +7473,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7492,9 +7492,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7514,9 +7514,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7536,9 +7536,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7561,9 +7561,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7580,9 +7580,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7602,9 +7602,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7624,9 +7624,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7649,9 +7649,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7671,9 +7671,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7696,9 +7696,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7721,9 +7721,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7749,9 +7749,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7763,8 +7763,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7779,8 +7779,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7795,8 +7795,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7814,8 +7814,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7830,8 +7830,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7849,8 +7849,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7868,8 +7868,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7890,8 +7890,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7906,8 +7906,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7925,8 +7925,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7944,8 +7944,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7966,8 +7966,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7985,8 +7985,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8007,8 +8007,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8029,8 +8029,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8054,8 +8054,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8070,8 +8070,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8089,8 +8089,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8108,8 +8108,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8130,8 +8130,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8149,8 +8149,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8171,8 +8171,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8193,8 +8193,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8218,8 +8218,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8237,8 +8237,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8259,8 +8259,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8281,8 +8281,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8306,8 +8306,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8328,8 +8328,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8353,8 +8353,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8378,8 +8378,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8406,8 +8406,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8420,9 +8420,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8438,9 +8438,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8456,9 +8456,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8477,9 +8477,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8495,9 +8495,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8516,9 +8516,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8537,9 +8537,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8561,9 +8561,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8579,9 +8579,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8600,9 +8600,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8621,9 +8621,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8645,9 +8645,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8666,9 +8666,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8690,9 +8690,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8714,9 +8714,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8741,9 +8741,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -9380,7 +9380,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9397,7 +9397,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9414,7 +9414,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9434,7 +9434,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9451,7 +9451,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9471,7 +9471,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9491,7 +9491,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9514,7 +9514,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9531,7 +9531,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9551,7 +9551,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9571,7 +9571,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9594,7 +9594,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9614,7 +9614,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9637,7 +9637,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9660,7 +9660,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9686,7 +9686,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -10422,7 +10422,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10442,7 +10442,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10462,7 +10462,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10485,7 +10485,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10505,7 +10505,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10528,7 +10528,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10551,7 +10551,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10577,7 +10577,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10597,7 +10597,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10620,7 +10620,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10643,7 +10643,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10669,7 +10669,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10692,7 +10692,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10718,7 +10718,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10744,7 +10744,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10773,7 +10773,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10788,7 +10788,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10805,7 +10805,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10822,7 +10822,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10842,7 +10842,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10859,7 +10859,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10879,7 +10879,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10899,7 +10899,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10922,7 +10922,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10939,7 +10939,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10959,7 +10959,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10979,7 +10979,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11002,7 +11002,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11022,7 +11022,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11045,7 +11045,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11068,7 +11068,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11094,7 +11094,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11111,7 +11111,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11131,7 +11131,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11151,7 +11151,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11174,7 +11174,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11194,7 +11194,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11217,7 +11217,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11240,7 +11240,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11266,7 +11266,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11286,7 +11286,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11309,7 +11309,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11332,7 +11332,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11358,7 +11358,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11381,7 +11381,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11407,7 +11407,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11433,7 +11433,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11462,7 +11462,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11477,8 +11477,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11496,8 +11496,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11515,8 +11515,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11537,8 +11537,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11556,8 +11556,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11578,8 +11578,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11600,8 +11600,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11625,8 +11625,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11644,8 +11644,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11666,8 +11666,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11688,8 +11688,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11713,8 +11713,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11735,8 +11735,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11760,8 +11760,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11785,8 +11785,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11813,8 +11813,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -12550,7 +12550,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12570,7 +12570,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12590,7 +12590,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12613,7 +12613,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12633,7 +12633,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12656,7 +12656,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12679,7 +12679,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12705,7 +12705,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12725,7 +12725,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12748,7 +12748,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12771,7 +12771,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12797,7 +12797,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12820,7 +12820,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12846,7 +12846,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12872,7 +12872,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12901,7 +12901,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -13736,7 +13736,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13759,7 +13759,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13782,7 +13782,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13808,7 +13808,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13831,7 +13831,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13857,7 +13857,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13883,7 +13883,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13912,7 +13912,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13935,7 +13935,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13961,7 +13961,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13987,7 +13987,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14016,7 +14016,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14042,7 +14042,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14071,7 +14071,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14100,7 +14100,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14132,7 +14132,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14150,7 +14150,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14170,7 +14170,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14190,7 +14190,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14213,7 +14213,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14233,7 +14233,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14256,7 +14256,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14279,7 +14279,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14305,7 +14305,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14325,7 +14325,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14348,7 +14348,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14371,7 +14371,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14397,7 +14397,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14420,7 +14420,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14446,7 +14446,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14472,7 +14472,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14501,7 +14501,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14521,7 +14521,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14544,7 +14544,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14567,7 +14567,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14593,7 +14593,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14616,7 +14616,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14642,7 +14642,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14668,7 +14668,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14697,7 +14697,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14720,7 +14720,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14746,7 +14746,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14772,7 +14772,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14801,7 +14801,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14827,7 +14827,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14856,7 +14856,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14885,7 +14885,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14917,7 +14917,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14935,8 +14935,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14957,8 +14957,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14979,8 +14979,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15004,8 +15004,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15026,8 +15026,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15051,8 +15051,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15076,8 +15076,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15104,8 +15104,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15126,8 +15126,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15151,8 +15151,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15176,8 +15176,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15204,8 +15204,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15229,8 +15229,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15257,8 +15257,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15285,8 +15285,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15316,8 +15316,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15332,7 +15332,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15349,7 +15349,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15366,7 +15366,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15386,7 +15386,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15403,7 +15403,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15423,7 +15423,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15443,7 +15443,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15466,7 +15466,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15483,7 +15483,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15503,7 +15503,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15523,7 +15523,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15546,7 +15546,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15566,7 +15566,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15589,7 +15589,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15612,7 +15612,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15638,7 +15638,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15655,7 +15655,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15675,7 +15675,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15695,7 +15695,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15718,7 +15718,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15738,7 +15738,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15761,7 +15761,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15784,7 +15784,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15810,7 +15810,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15830,7 +15830,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15853,7 +15853,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15876,7 +15876,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15902,7 +15902,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15925,7 +15925,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15951,7 +15951,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15977,7 +15977,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16006,7 +16006,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16021,8 +16021,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16040,8 +16040,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16059,8 +16059,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16081,8 +16081,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16100,8 +16100,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16122,8 +16122,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16144,8 +16144,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16169,8 +16169,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16188,8 +16188,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16210,8 +16210,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16232,8 +16232,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16257,8 +16257,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16279,8 +16279,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16304,8 +16304,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16329,8 +16329,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16357,8 +16357,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16375,7 +16375,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16395,7 +16395,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16415,7 +16415,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16438,7 +16438,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16458,7 +16458,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16481,7 +16481,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16504,7 +16504,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16530,7 +16530,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16550,7 +16550,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16573,7 +16573,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16596,7 +16596,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16622,7 +16622,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16645,7 +16645,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16671,7 +16671,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16697,7 +16697,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16726,7 +16726,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16746,7 +16746,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16769,7 +16769,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16792,7 +16792,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16818,7 +16818,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16841,7 +16841,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16867,7 +16867,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16893,7 +16893,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16922,7 +16922,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16945,7 +16945,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16971,7 +16971,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16997,7 +16997,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17026,7 +17026,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17052,7 +17052,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17081,7 +17081,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17110,7 +17110,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17142,7 +17142,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17159,9 +17159,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17181,9 +17181,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17203,9 +17203,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17228,9 +17228,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17250,9 +17250,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17275,9 +17275,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17300,9 +17300,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17328,9 +17328,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17350,9 +17350,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17375,9 +17375,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17400,9 +17400,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17428,9 +17428,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17453,9 +17453,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17481,9 +17481,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17509,9 +17509,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17540,9 +17540,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17557,8 +17557,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17576,8 +17576,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17595,8 +17595,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17617,8 +17617,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17636,8 +17636,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17658,8 +17658,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17680,8 +17680,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17705,8 +17705,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17724,8 +17724,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17746,8 +17746,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17768,8 +17768,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17793,8 +17793,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17815,8 +17815,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17840,8 +17840,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17865,8 +17865,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17893,8 +17893,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17912,8 +17912,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17934,8 +17934,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17956,8 +17956,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17981,8 +17981,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18003,8 +18003,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18028,8 +18028,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18053,8 +18053,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18081,8 +18081,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18103,8 +18103,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18128,8 +18128,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18153,8 +18153,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18181,8 +18181,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18206,8 +18206,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18234,8 +18234,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18262,8 +18262,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18293,8 +18293,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18310,9 +18310,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18331,9 +18331,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18352,9 +18352,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18376,9 +18376,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18397,9 +18397,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18421,9 +18421,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18445,9 +18445,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18472,9 +18472,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18493,9 +18493,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18517,9 +18517,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18541,9 +18541,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18568,9 +18568,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18592,9 +18592,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18619,9 +18619,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18646,9 +18646,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18676,9 +18676,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -19218,7 +19218,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha int ret = default; var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19232,7 +19232,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19246,7 +19246,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19263,7 +19263,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19277,7 +19277,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19294,7 +19294,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19311,7 +19311,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19331,7 +19331,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19345,7 +19345,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19362,7 +19362,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19379,7 +19379,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19399,7 +19399,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19416,7 +19416,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19436,7 +19436,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19456,7 +19456,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19479,7 +19479,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -20116,7 +20116,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20133,7 +20133,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20150,7 +20150,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20170,7 +20170,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20187,7 +20187,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20207,7 +20207,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20227,7 +20227,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20250,7 +20250,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20267,7 +20267,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20287,7 +20287,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20307,7 +20307,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20330,7 +20330,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20350,7 +20350,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20373,7 +20373,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20396,7 +20396,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20422,7 +20422,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler2.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler2.gen.cs index 34ff187e74..80d737826a 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcCompiler2.gen.cs @@ -645,7 +645,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p int ret = default; var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -659,7 +659,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -673,7 +673,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -690,7 +690,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -704,7 +704,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -721,7 +721,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -738,7 +738,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -758,7 +758,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -772,7 +772,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -789,7 +789,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -806,7 +806,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -826,7 +826,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -843,7 +843,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -863,7 +863,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -883,7 +883,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -906,7 +906,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, char* p } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -1543,7 +1543,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1560,7 +1560,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1577,7 +1577,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1597,7 +1597,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1614,7 +1614,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1634,7 +1634,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1654,7 +1654,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1677,7 +1677,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1694,7 +1694,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1714,7 +1714,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1734,7 +1734,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1757,7 +1757,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1777,7 +1777,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1800,7 +1800,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1823,7 +1823,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1849,7 +1849,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -1861,7 +1861,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string int ret = default; var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1875,7 +1875,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1889,7 +1889,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1906,7 +1906,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1920,7 +1920,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1937,7 +1937,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1954,7 +1954,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1974,7 +1974,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -1988,7 +1988,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2005,7 +2005,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2022,7 +2022,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2042,7 +2042,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2059,7 +2059,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2079,7 +2079,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2099,7 +2099,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2122,7 +2122,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2136,7 +2136,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2153,7 +2153,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2170,7 +2170,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2190,7 +2190,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2207,7 +2207,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2227,7 +2227,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2247,7 +2247,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2270,7 +2270,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2287,7 +2287,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2307,7 +2307,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2327,7 +2327,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2350,7 +2350,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2370,7 +2370,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2393,7 +2393,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2416,7 +2416,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2442,7 +2442,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2454,8 +2454,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2470,8 +2470,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2486,8 +2486,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2505,8 +2505,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2521,8 +2521,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2540,8 +2540,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2559,8 +2559,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2581,8 +2581,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2597,8 +2597,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2616,8 +2616,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2635,8 +2635,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2657,8 +2657,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2676,8 +2676,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2698,8 +2698,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2720,8 +2720,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -2745,8 +2745,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, char* pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -3383,7 +3383,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3400,7 +3400,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3417,7 +3417,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3437,7 +3437,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3454,7 +3454,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3474,7 +3474,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3494,7 +3494,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3517,7 +3517,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3534,7 +3534,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3554,7 +3554,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3574,7 +3574,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3597,7 +3597,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3617,7 +3617,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3640,7 +3640,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3663,7 +3663,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -3689,7 +3689,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -4425,7 +4425,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4445,7 +4445,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4465,7 +4465,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4488,7 +4488,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4508,7 +4508,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4531,7 +4531,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4554,7 +4554,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4580,7 +4580,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4600,7 +4600,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4623,7 +4623,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4646,7 +4646,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4672,7 +4672,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4695,7 +4695,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4721,7 +4721,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4747,7 +4747,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4776,7 +4776,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -4791,7 +4791,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4808,7 +4808,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4825,7 +4825,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4845,7 +4845,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4862,7 +4862,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4882,7 +4882,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4902,7 +4902,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4925,7 +4925,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4942,7 +4942,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4962,7 +4962,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -4982,7 +4982,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5005,7 +5005,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5025,7 +5025,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5048,7 +5048,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5071,7 +5071,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5097,7 +5097,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5114,7 +5114,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5134,7 +5134,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5154,7 +5154,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5177,7 +5177,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5197,7 +5197,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5220,7 +5220,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5243,7 +5243,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5269,7 +5269,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5289,7 +5289,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5312,7 +5312,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5335,7 +5335,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5361,7 +5361,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5384,7 +5384,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5410,7 +5410,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5436,7 +5436,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5465,7 +5465,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5480,8 +5480,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5499,8 +5499,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5518,8 +5518,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5540,8 +5540,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5559,8 +5559,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5581,8 +5581,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5603,8 +5603,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5628,8 +5628,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5647,8 +5647,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5669,8 +5669,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5691,8 +5691,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5716,8 +5716,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5738,8 +5738,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5763,8 +5763,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5788,8 +5788,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5816,8 +5816,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, ref char pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -5829,7 +5829,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* int ret = default; var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5843,7 +5843,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5857,7 +5857,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5874,7 +5874,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5888,7 +5888,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5905,7 +5905,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5922,7 +5922,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5942,7 +5942,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5956,7 +5956,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5973,7 +5973,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -5990,7 +5990,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6010,7 +6010,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6027,7 +6027,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6047,7 +6047,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6067,7 +6067,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6090,7 +6090,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6104,7 +6104,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6121,7 +6121,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6138,7 +6138,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6158,7 +6158,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6175,7 +6175,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6195,7 +6195,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6215,7 +6215,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6238,7 +6238,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6255,7 +6255,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6275,7 +6275,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6295,7 +6295,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6318,7 +6318,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6338,7 +6338,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6361,7 +6361,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6384,7 +6384,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6410,7 +6410,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6422,8 +6422,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6438,8 +6438,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6454,8 +6454,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6473,8 +6473,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6489,8 +6489,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6508,8 +6508,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6527,8 +6527,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6549,8 +6549,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6565,8 +6565,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6584,8 +6584,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6603,8 +6603,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6625,8 +6625,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6644,8 +6644,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6666,8 +6666,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6688,8 +6688,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6713,8 +6713,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, char* } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6728,7 +6728,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6745,7 +6745,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6762,7 +6762,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6782,7 +6782,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6799,7 +6799,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6819,7 +6819,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6839,7 +6839,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6862,7 +6862,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6879,7 +6879,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6899,7 +6899,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6919,7 +6919,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6942,7 +6942,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6962,7 +6962,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -6985,7 +6985,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7008,7 +7008,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7034,7 +7034,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7051,7 +7051,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7071,7 +7071,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7091,7 +7091,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7114,7 +7114,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7134,7 +7134,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7157,7 +7157,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7180,7 +7180,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7206,7 +7206,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7226,7 +7226,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7249,7 +7249,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7272,7 +7272,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7298,7 +7298,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7321,7 +7321,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7347,7 +7347,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7373,7 +7373,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7402,7 +7402,7 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7416,9 +7416,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7435,9 +7435,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7454,9 +7454,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7476,9 +7476,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7495,9 +7495,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7517,9 +7517,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7539,9 +7539,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7564,9 +7564,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7583,9 +7583,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7605,9 +7605,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7627,9 +7627,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7652,9 +7652,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7674,9 +7674,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7699,9 +7699,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7724,9 +7724,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7752,9 +7752,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7766,8 +7766,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7782,8 +7782,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7798,8 +7798,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7817,8 +7817,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7833,8 +7833,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7852,8 +7852,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7871,8 +7871,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7893,8 +7893,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7909,8 +7909,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7928,8 +7928,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7947,8 +7947,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7969,8 +7969,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -7988,8 +7988,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8010,8 +8010,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8032,8 +8032,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8057,8 +8057,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8073,8 +8073,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8092,8 +8092,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8111,8 +8111,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8133,8 +8133,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8152,8 +8152,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8174,8 +8174,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8196,8 +8196,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8221,8 +8221,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8240,8 +8240,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8262,8 +8262,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8284,8 +8284,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8309,8 +8309,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8331,8 +8331,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8356,8 +8356,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8381,8 +8381,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8409,8 +8409,8 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8423,9 +8423,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8441,9 +8441,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8459,9 +8459,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8480,9 +8480,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8498,9 +8498,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8519,9 +8519,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8540,9 +8540,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8564,9 +8564,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8582,9 +8582,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8603,9 +8603,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8624,9 +8624,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8648,9 +8648,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8669,9 +8669,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8693,9 +8693,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8717,9 +8717,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -8744,9 +8744,9 @@ public readonly unsafe int Compile(IDxcBlob* pSource, string pSourceName, string } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -9383,7 +9383,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9400,7 +9400,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9417,7 +9417,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9437,7 +9437,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9454,7 +9454,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9474,7 +9474,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9494,7 +9494,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9517,7 +9517,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9534,7 +9534,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9554,7 +9554,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9574,7 +9574,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9597,7 +9597,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9617,7 +9617,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9640,7 +9640,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9663,7 +9663,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -9689,7 +9689,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, char } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -10425,7 +10425,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10445,7 +10445,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10465,7 +10465,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10488,7 +10488,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10508,7 +10508,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10531,7 +10531,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10554,7 +10554,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10580,7 +10580,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10600,7 +10600,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10623,7 +10623,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10646,7 +10646,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10672,7 +10672,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10695,7 +10695,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10721,7 +10721,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10747,7 +10747,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10776,7 +10776,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -10791,7 +10791,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10808,7 +10808,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10825,7 +10825,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10845,7 +10845,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10862,7 +10862,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10882,7 +10882,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10902,7 +10902,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10925,7 +10925,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10942,7 +10942,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10962,7 +10962,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -10982,7 +10982,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11005,7 +11005,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11025,7 +11025,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11048,7 +11048,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11071,7 +11071,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11097,7 +11097,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11114,7 +11114,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11134,7 +11134,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11154,7 +11154,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11177,7 +11177,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11197,7 +11197,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11220,7 +11220,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11243,7 +11243,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11269,7 +11269,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11289,7 +11289,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11312,7 +11312,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11335,7 +11335,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11361,7 +11361,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11384,7 +11384,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11410,7 +11410,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11436,7 +11436,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11465,7 +11465,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11480,8 +11480,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11499,8 +11499,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11518,8 +11518,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11540,8 +11540,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11559,8 +11559,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11581,8 +11581,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11603,8 +11603,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11628,8 +11628,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11647,8 +11647,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11669,8 +11669,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11691,8 +11691,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11716,8 +11716,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11738,8 +11738,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11763,8 +11763,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11788,8 +11788,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -11816,8 +11816,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, char* pSourceName, stri } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -12553,7 +12553,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12573,7 +12573,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12593,7 +12593,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12616,7 +12616,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12636,7 +12636,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12659,7 +12659,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12682,7 +12682,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12708,7 +12708,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12728,7 +12728,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12751,7 +12751,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12774,7 +12774,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12800,7 +12800,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12823,7 +12823,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12849,7 +12849,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12875,7 +12875,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -12904,7 +12904,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, c } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -13739,7 +13739,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13762,7 +13762,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13785,7 +13785,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13811,7 +13811,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13834,7 +13834,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13860,7 +13860,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13886,7 +13886,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13915,7 +13915,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13938,7 +13938,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13964,7 +13964,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -13990,7 +13990,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14019,7 +14019,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14045,7 +14045,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14074,7 +14074,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14103,7 +14103,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14135,7 +14135,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, r } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -14153,7 +14153,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14173,7 +14173,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14193,7 +14193,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14216,7 +14216,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14236,7 +14236,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14259,7 +14259,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14282,7 +14282,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14308,7 +14308,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14328,7 +14328,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14351,7 +14351,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14374,7 +14374,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14400,7 +14400,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14423,7 +14423,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14449,7 +14449,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14475,7 +14475,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14504,7 +14504,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14524,7 +14524,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14547,7 +14547,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14570,7 +14570,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14596,7 +14596,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14619,7 +14619,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14645,7 +14645,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14671,7 +14671,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14700,7 +14700,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14723,7 +14723,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14749,7 +14749,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14775,7 +14775,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14804,7 +14804,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14830,7 +14830,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14859,7 +14859,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14888,7 +14888,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14920,7 +14920,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14938,8 +14938,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14960,8 +14960,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -14982,8 +14982,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15007,8 +15007,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15029,8 +15029,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15054,8 +15054,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15079,8 +15079,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15107,8 +15107,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15129,8 +15129,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15154,8 +15154,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15179,8 +15179,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15207,8 +15207,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15232,8 +15232,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15260,8 +15260,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15288,8 +15288,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15319,8 +15319,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, ref char pSourceName, s } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -15335,7 +15335,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15352,7 +15352,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15369,7 +15369,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15389,7 +15389,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15406,7 +15406,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15426,7 +15426,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15446,7 +15446,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15469,7 +15469,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15486,7 +15486,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15506,7 +15506,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15526,7 +15526,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15549,7 +15549,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15569,7 +15569,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15592,7 +15592,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15615,7 +15615,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15641,7 +15641,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15658,7 +15658,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15678,7 +15678,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15698,7 +15698,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15721,7 +15721,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15741,7 +15741,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15764,7 +15764,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15787,7 +15787,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15813,7 +15813,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15833,7 +15833,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15856,7 +15856,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15879,7 +15879,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15905,7 +15905,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15928,7 +15928,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15954,7 +15954,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -15980,7 +15980,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16009,7 +16009,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16024,8 +16024,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16043,8 +16043,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16062,8 +16062,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16084,8 +16084,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16103,8 +16103,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16125,8 +16125,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16147,8 +16147,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16172,8 +16172,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16191,8 +16191,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16213,8 +16213,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16235,8 +16235,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16260,8 +16260,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16282,8 +16282,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16307,8 +16307,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16332,8 +16332,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16360,8 +16360,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16378,7 +16378,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16398,7 +16398,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16418,7 +16418,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16441,7 +16441,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16461,7 +16461,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16484,7 +16484,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16507,7 +16507,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16533,7 +16533,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16553,7 +16553,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16576,7 +16576,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16599,7 +16599,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16625,7 +16625,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16648,7 +16648,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16674,7 +16674,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16700,7 +16700,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16729,7 +16729,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16749,7 +16749,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16772,7 +16772,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16795,7 +16795,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16821,7 +16821,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16844,7 +16844,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16870,7 +16870,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16896,7 +16896,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16925,7 +16925,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16948,7 +16948,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -16974,7 +16974,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17000,7 +17000,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17029,7 +17029,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17055,7 +17055,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17084,7 +17084,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17113,7 +17113,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17145,7 +17145,7 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17162,9 +17162,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17184,9 +17184,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17206,9 +17206,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17231,9 +17231,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17253,9 +17253,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17278,9 +17278,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17303,9 +17303,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17331,9 +17331,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17353,9 +17353,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17378,9 +17378,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17403,9 +17403,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17431,9 +17431,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17456,9 +17456,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17484,9 +17484,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17512,9 +17512,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17543,9 +17543,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17560,8 +17560,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17579,8 +17579,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17598,8 +17598,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17620,8 +17620,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17639,8 +17639,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17661,8 +17661,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17683,8 +17683,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17708,8 +17708,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17727,8 +17727,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17749,8 +17749,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17771,8 +17771,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17796,8 +17796,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17818,8 +17818,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17843,8 +17843,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17868,8 +17868,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17896,8 +17896,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17915,8 +17915,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17937,8 +17937,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17959,8 +17959,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -17984,8 +17984,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18006,8 +18006,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18031,8 +18031,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18056,8 +18056,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18084,8 +18084,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18106,8 +18106,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18131,8 +18131,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18156,8 +18156,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18184,8 +18184,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18209,8 +18209,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18237,8 +18237,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18265,8 +18265,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18296,8 +18296,8 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18313,9 +18313,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18334,9 +18334,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18355,9 +18355,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18379,9 +18379,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18400,9 +18400,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18424,9 +18424,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18448,9 +18448,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18475,9 +18475,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18496,9 +18496,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18520,9 +18520,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18544,9 +18544,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18571,9 +18571,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18595,9 +18595,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18622,9 +18622,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18649,9 +18649,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -18679,9 +18679,9 @@ public readonly unsafe int Compile(ref IDxcBlob pSource, string pSourceName, str } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -19221,7 +19221,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha int ret = default; var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19235,7 +19235,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19249,7 +19249,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19266,7 +19266,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19280,7 +19280,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19297,7 +19297,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19314,7 +19314,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19334,7 +19334,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, cha } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19348,7 +19348,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19365,7 +19365,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19382,7 +19382,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19402,7 +19402,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19419,7 +19419,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSource, pSourceNamePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19439,7 +19439,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19459,7 +19459,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -19482,7 +19482,7 @@ public readonly unsafe int Preprocess(IDxcBlob* pSource, string pSourceName, ref } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -20119,7 +20119,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20136,7 +20136,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20153,7 +20153,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20173,7 +20173,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20190,7 +20190,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20210,7 +20210,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20230,7 +20230,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20253,7 +20253,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20270,7 +20270,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20290,7 +20290,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20310,7 +20310,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20333,7 +20333,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20353,7 +20353,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pSourcePtr, pSourceNamePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20376,7 +20376,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20399,7 +20399,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -20425,7 +20425,7 @@ public readonly unsafe int Preprocess(ref IDxcBlob pSource, string pSourceName, } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -22981,7 +22981,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName int ret = default; var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -22995,7 +22995,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23009,7 +23009,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23026,7 +23026,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23040,7 +23040,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23057,7 +23057,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23074,7 +23074,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23094,7 +23094,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23108,7 +23108,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23125,7 +23125,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23142,7 +23142,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23162,7 +23162,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23179,7 +23179,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23199,7 +23199,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23219,7 +23219,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23242,7 +23242,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23256,7 +23256,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23273,7 +23273,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23290,7 +23290,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23310,7 +23310,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23327,7 +23327,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23347,7 +23347,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23367,7 +23367,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23390,7 +23390,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23407,7 +23407,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23427,7 +23427,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23447,7 +23447,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23470,7 +23470,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23490,7 +23490,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23513,7 +23513,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23536,7 +23536,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23562,7 +23562,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23576,7 +23576,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23593,7 +23593,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23610,7 +23610,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23630,7 +23630,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23647,7 +23647,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23667,7 +23667,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23687,7 +23687,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23710,7 +23710,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23727,7 +23727,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23747,7 +23747,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23767,7 +23767,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23790,7 +23790,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23810,7 +23810,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23833,7 +23833,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23856,7 +23856,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23882,7 +23882,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23899,7 +23899,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23919,7 +23919,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23939,7 +23939,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23962,7 +23962,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -23982,7 +23982,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24005,7 +24005,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24028,7 +24028,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24054,7 +24054,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24074,7 +24074,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24097,7 +24097,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24120,7 +24120,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24146,7 +24146,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24169,7 +24169,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24195,7 +24195,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24221,7 +24221,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -24250,7 +24250,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -27143,7 +27143,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27160,7 +27160,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27177,7 +27177,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27197,7 +27197,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27214,7 +27214,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27234,7 +27234,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27254,7 +27254,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27277,7 +27277,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27294,7 +27294,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27314,7 +27314,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27334,7 +27334,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27357,7 +27357,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27377,7 +27377,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27400,7 +27400,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27423,7 +27423,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27449,7 +27449,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27466,7 +27466,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27486,7 +27486,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27506,7 +27506,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27529,7 +27529,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27549,7 +27549,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27572,7 +27572,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27595,7 +27595,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27621,7 +27621,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27641,7 +27641,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27664,7 +27664,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27687,7 +27687,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27713,7 +27713,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27736,7 +27736,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27762,7 +27762,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27788,7 +27788,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27817,7 +27817,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27834,7 +27834,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27854,7 +27854,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27874,7 +27874,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27897,7 +27897,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27917,7 +27917,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27940,7 +27940,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27963,7 +27963,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -27989,7 +27989,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28009,7 +28009,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28032,7 +28032,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28055,7 +28055,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28081,7 +28081,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28104,7 +28104,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28130,7 +28130,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28156,7 +28156,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28185,7 +28185,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28205,7 +28205,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28228,7 +28228,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28251,7 +28251,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28277,7 +28277,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28300,7 +28300,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28326,7 +28326,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28352,7 +28352,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28381,7 +28381,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28404,7 +28404,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28430,7 +28430,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28456,7 +28456,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28485,7 +28485,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28511,7 +28511,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28540,7 +28540,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28569,7 +28569,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28601,7 +28601,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -28613,7 +28613,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName int ret = default; var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28627,7 +28627,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28641,7 +28641,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28658,7 +28658,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28672,7 +28672,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28689,7 +28689,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28706,7 +28706,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28726,7 +28726,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28740,7 +28740,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28757,7 +28757,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28774,7 +28774,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28794,7 +28794,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28811,7 +28811,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28831,7 +28831,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28851,7 +28851,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28874,7 +28874,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28888,7 +28888,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28905,7 +28905,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28922,7 +28922,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28942,7 +28942,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28959,7 +28959,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28979,7 +28979,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -28999,7 +28999,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29022,7 +29022,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29039,7 +29039,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29059,7 +29059,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29079,7 +29079,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29102,7 +29102,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29122,7 +29122,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29145,7 +29145,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29168,7 +29168,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29194,7 +29194,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29208,7 +29208,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29225,7 +29225,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29242,7 +29242,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29262,7 +29262,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29279,7 +29279,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29299,7 +29299,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29319,7 +29319,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29342,7 +29342,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29359,7 +29359,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29379,7 +29379,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29399,7 +29399,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29422,7 +29422,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29442,7 +29442,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29465,7 +29465,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29488,7 +29488,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29514,7 +29514,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29531,7 +29531,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29551,7 +29551,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29571,7 +29571,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29594,7 +29594,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29614,7 +29614,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29637,7 +29637,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29660,7 +29660,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29686,7 +29686,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29706,7 +29706,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29729,7 +29729,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29752,7 +29752,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29778,7 +29778,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29801,7 +29801,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29827,7 +29827,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29853,7 +29853,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29882,7 +29882,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29896,7 +29896,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29913,7 +29913,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29930,7 +29930,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29950,7 +29950,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29967,7 +29967,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -29987,7 +29987,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30007,7 +30007,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30030,7 +30030,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30047,7 +30047,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30067,7 +30067,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30087,7 +30087,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30110,7 +30110,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30130,7 +30130,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30153,7 +30153,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30176,7 +30176,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30202,7 +30202,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30219,7 +30219,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30239,7 +30239,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30259,7 +30259,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30282,7 +30282,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30302,7 +30302,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30325,7 +30325,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30348,7 +30348,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30374,7 +30374,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30394,7 +30394,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30417,7 +30417,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30440,7 +30440,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30466,7 +30466,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30489,7 +30489,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30515,7 +30515,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30541,7 +30541,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30570,7 +30570,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30587,7 +30587,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30607,7 +30607,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30627,7 +30627,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30650,7 +30650,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30670,7 +30670,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30693,7 +30693,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30716,7 +30716,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30742,7 +30742,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30762,7 +30762,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30785,7 +30785,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30808,7 +30808,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30834,7 +30834,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30857,7 +30857,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30883,7 +30883,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30909,7 +30909,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30938,7 +30938,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30958,7 +30958,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -30981,7 +30981,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31004,7 +31004,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31030,7 +31030,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31053,7 +31053,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31079,7 +31079,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31105,7 +31105,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31134,7 +31134,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31157,7 +31157,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31183,7 +31183,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31209,7 +31209,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31238,7 +31238,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31264,7 +31264,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31293,7 +31293,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31322,7 +31322,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31354,7 +31354,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31366,8 +31366,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31382,8 +31382,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31398,8 +31398,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31417,8 +31417,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31433,8 +31433,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31452,8 +31452,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31471,8 +31471,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31493,8 +31493,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31509,8 +31509,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31528,8 +31528,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31547,8 +31547,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31569,8 +31569,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31588,8 +31588,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31610,8 +31610,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31632,8 +31632,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31657,8 +31657,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31673,8 +31673,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31692,8 +31692,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31711,8 +31711,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31733,8 +31733,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31752,8 +31752,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31774,8 +31774,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31796,8 +31796,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31821,8 +31821,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31840,8 +31840,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31862,8 +31862,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31884,8 +31884,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31909,8 +31909,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31931,8 +31931,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31956,8 +31956,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -31981,8 +31981,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32009,8 +32009,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32025,8 +32025,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32044,8 +32044,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32063,8 +32063,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32085,8 +32085,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32104,8 +32104,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32126,8 +32126,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32148,8 +32148,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32173,8 +32173,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32192,8 +32192,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32214,8 +32214,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32236,8 +32236,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32261,8 +32261,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32283,8 +32283,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32308,8 +32308,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32333,8 +32333,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32361,8 +32361,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32380,8 +32380,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32402,8 +32402,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32424,8 +32424,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32449,8 +32449,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32471,8 +32471,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32496,8 +32496,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32521,8 +32521,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32549,8 +32549,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32571,8 +32571,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32596,8 +32596,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32621,8 +32621,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32649,8 +32649,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32674,8 +32674,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32702,8 +32702,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32730,8 +32730,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -32761,8 +32761,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, char* pSourceName } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); return ret; } @@ -35655,7 +35655,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35672,7 +35672,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35689,7 +35689,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35709,7 +35709,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35726,7 +35726,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35746,7 +35746,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35766,7 +35766,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35789,7 +35789,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35806,7 +35806,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35826,7 +35826,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35846,7 +35846,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35869,7 +35869,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35889,7 +35889,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35912,7 +35912,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35935,7 +35935,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35961,7 +35961,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35978,7 +35978,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -35998,7 +35998,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36018,7 +36018,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36041,7 +36041,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36061,7 +36061,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36084,7 +36084,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36107,7 +36107,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36133,7 +36133,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36153,7 +36153,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36176,7 +36176,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36199,7 +36199,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36225,7 +36225,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36248,7 +36248,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36274,7 +36274,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36300,7 +36300,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36329,7 +36329,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36346,7 +36346,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36366,7 +36366,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36386,7 +36386,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36409,7 +36409,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36429,7 +36429,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36452,7 +36452,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36475,7 +36475,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36501,7 +36501,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36521,7 +36521,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36544,7 +36544,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36567,7 +36567,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36593,7 +36593,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36616,7 +36616,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36642,7 +36642,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36668,7 +36668,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36697,7 +36697,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36717,7 +36717,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36740,7 +36740,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36763,7 +36763,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36789,7 +36789,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36812,7 +36812,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36838,7 +36838,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36864,7 +36864,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36893,7 +36893,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36916,7 +36916,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36942,7 +36942,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36968,7 +36968,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -36997,7 +36997,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -37023,7 +37023,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -37052,7 +37052,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -37081,7 +37081,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -37113,7 +37113,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -40393,7 +40393,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40413,7 +40413,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40433,7 +40433,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40456,7 +40456,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40476,7 +40476,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40499,7 +40499,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40522,7 +40522,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40548,7 +40548,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40568,7 +40568,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40591,7 +40591,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40614,7 +40614,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40640,7 +40640,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40663,7 +40663,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40689,7 +40689,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40715,7 +40715,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40744,7 +40744,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40764,7 +40764,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40787,7 +40787,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40810,7 +40810,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40836,7 +40836,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40859,7 +40859,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40885,7 +40885,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40911,7 +40911,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40940,7 +40940,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40963,7 +40963,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -40989,7 +40989,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41015,7 +41015,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41044,7 +41044,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41070,7 +41070,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41099,7 +41099,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41128,7 +41128,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41160,7 +41160,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41180,7 +41180,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41203,7 +41203,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41226,7 +41226,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41252,7 +41252,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41275,7 +41275,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41301,7 +41301,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41327,7 +41327,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41356,7 +41356,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41379,7 +41379,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41405,7 +41405,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41431,7 +41431,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41460,7 +41460,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41486,7 +41486,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41515,7 +41515,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41544,7 +41544,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41576,7 +41576,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41599,7 +41599,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41625,7 +41625,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41651,7 +41651,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41680,7 +41680,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41706,7 +41706,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41735,7 +41735,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41764,7 +41764,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41796,7 +41796,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41822,7 +41822,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41851,7 +41851,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41880,7 +41880,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41912,7 +41912,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41941,7 +41941,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -41973,7 +41973,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -42005,7 +42005,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -42040,7 +42040,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -42055,7 +42055,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42072,7 +42072,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42089,7 +42089,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42109,7 +42109,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42126,7 +42126,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42146,7 +42146,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42166,7 +42166,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42189,7 +42189,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42206,7 +42206,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42226,7 +42226,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42246,7 +42246,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42269,7 +42269,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42289,7 +42289,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42312,7 +42312,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42335,7 +42335,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42361,7 +42361,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42378,7 +42378,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42398,7 +42398,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42418,7 +42418,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42441,7 +42441,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42461,7 +42461,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42484,7 +42484,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42507,7 +42507,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42533,7 +42533,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42553,7 +42553,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42576,7 +42576,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42599,7 +42599,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42625,7 +42625,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42648,7 +42648,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42674,7 +42674,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42700,7 +42700,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42729,7 +42729,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42746,7 +42746,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42766,7 +42766,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42786,7 +42786,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42809,7 +42809,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42829,7 +42829,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42852,7 +42852,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42875,7 +42875,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42901,7 +42901,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42921,7 +42921,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42944,7 +42944,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42967,7 +42967,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -42993,7 +42993,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43016,7 +43016,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43042,7 +43042,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43068,7 +43068,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43097,7 +43097,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43117,7 +43117,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43140,7 +43140,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43163,7 +43163,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43189,7 +43189,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43212,7 +43212,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43238,7 +43238,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43264,7 +43264,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43293,7 +43293,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43316,7 +43316,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43342,7 +43342,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43368,7 +43368,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43397,7 +43397,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43423,7 +43423,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43452,7 +43452,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43481,7 +43481,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43513,7 +43513,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43530,7 +43530,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43550,7 +43550,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43570,7 +43570,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43593,7 +43593,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43613,7 +43613,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43636,7 +43636,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43659,7 +43659,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43685,7 +43685,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43705,7 +43705,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43728,7 +43728,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43751,7 +43751,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43777,7 +43777,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43800,7 +43800,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43826,7 +43826,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43852,7 +43852,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43881,7 +43881,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43901,7 +43901,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43924,7 +43924,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43947,7 +43947,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43973,7 +43973,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -43996,7 +43996,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44022,7 +44022,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44048,7 +44048,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44077,7 +44077,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44100,7 +44100,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44126,7 +44126,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44152,7 +44152,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44181,7 +44181,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44207,7 +44207,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44236,7 +44236,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44265,7 +44265,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44297,7 +44297,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44317,7 +44317,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44340,7 +44340,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44363,7 +44363,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44389,7 +44389,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44412,7 +44412,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44438,7 +44438,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44464,7 +44464,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44493,7 +44493,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44516,7 +44516,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44542,7 +44542,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44568,7 +44568,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44597,7 +44597,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44623,7 +44623,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44652,7 +44652,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44681,7 +44681,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44713,7 +44713,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44736,7 +44736,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44762,7 +44762,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44788,7 +44788,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44817,7 +44817,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44843,7 +44843,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44872,7 +44872,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44901,7 +44901,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44933,7 +44933,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44959,7 +44959,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -44988,7 +44988,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45017,7 +45017,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45049,7 +45049,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45078,7 +45078,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45110,7 +45110,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45142,7 +45142,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45177,7 +45177,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45192,8 +45192,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45211,8 +45211,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45230,8 +45230,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45252,8 +45252,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45271,8 +45271,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45293,8 +45293,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45315,8 +45315,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45340,8 +45340,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45359,8 +45359,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45381,8 +45381,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45403,8 +45403,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45428,8 +45428,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45450,8 +45450,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45475,8 +45475,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45500,8 +45500,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45528,8 +45528,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45547,8 +45547,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45569,8 +45569,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45591,8 +45591,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45616,8 +45616,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45638,8 +45638,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45663,8 +45663,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45688,8 +45688,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45716,8 +45716,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45738,8 +45738,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45763,8 +45763,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45788,8 +45788,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45816,8 +45816,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45841,8 +45841,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45869,8 +45869,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45897,8 +45897,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45928,8 +45928,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45947,8 +45947,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45969,8 +45969,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -45991,8 +45991,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46016,8 +46016,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46038,8 +46038,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46063,8 +46063,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46088,8 +46088,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46116,8 +46116,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46138,8 +46138,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46163,8 +46163,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46188,8 +46188,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46216,8 +46216,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46241,8 +46241,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46269,8 +46269,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46297,8 +46297,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46328,8 +46328,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46350,8 +46350,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46375,8 +46375,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46400,8 +46400,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46428,8 +46428,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46453,8 +46453,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46481,8 +46481,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46509,8 +46509,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46540,8 +46540,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46565,8 +46565,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46593,8 +46593,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46621,8 +46621,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46652,8 +46652,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46680,8 +46680,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46711,8 +46711,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46742,8 +46742,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46776,8 +46776,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, ref char pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -46789,7 +46789,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam int ret = default; var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46803,7 +46803,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46817,7 +46817,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46834,7 +46834,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46848,7 +46848,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46865,7 +46865,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46882,7 +46882,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46902,7 +46902,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46916,7 +46916,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46933,7 +46933,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46950,7 +46950,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46970,7 +46970,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -46987,7 +46987,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47007,7 +47007,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47027,7 +47027,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47050,7 +47050,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47064,7 +47064,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47081,7 +47081,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47098,7 +47098,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47118,7 +47118,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47135,7 +47135,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47155,7 +47155,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47175,7 +47175,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47198,7 +47198,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47215,7 +47215,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47235,7 +47235,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47255,7 +47255,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47278,7 +47278,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47298,7 +47298,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47321,7 +47321,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47344,7 +47344,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47370,7 +47370,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47384,7 +47384,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47401,7 +47401,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47418,7 +47418,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47438,7 +47438,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47455,7 +47455,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47475,7 +47475,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47495,7 +47495,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47518,7 +47518,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47535,7 +47535,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47555,7 +47555,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47575,7 +47575,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47598,7 +47598,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47618,7 +47618,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47641,7 +47641,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47664,7 +47664,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47690,7 +47690,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47707,7 +47707,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47727,7 +47727,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47747,7 +47747,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47770,7 +47770,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47790,7 +47790,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47813,7 +47813,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47836,7 +47836,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47862,7 +47862,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47882,7 +47882,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47905,7 +47905,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47928,7 +47928,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47954,7 +47954,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -47977,7 +47977,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48003,7 +48003,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48029,7 +48029,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48058,7 +48058,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48072,7 +48072,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48089,7 +48089,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48106,7 +48106,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48126,7 +48126,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48143,7 +48143,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48163,7 +48163,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48183,7 +48183,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48206,7 +48206,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48223,7 +48223,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48243,7 +48243,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48263,7 +48263,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48286,7 +48286,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48306,7 +48306,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48329,7 +48329,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48352,7 +48352,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48378,7 +48378,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48395,7 +48395,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48415,7 +48415,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48435,7 +48435,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48458,7 +48458,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48478,7 +48478,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48501,7 +48501,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48524,7 +48524,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48550,7 +48550,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48570,7 +48570,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48593,7 +48593,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48616,7 +48616,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48642,7 +48642,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48665,7 +48665,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48691,7 +48691,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48717,7 +48717,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48746,7 +48746,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48763,7 +48763,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48783,7 +48783,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48803,7 +48803,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48826,7 +48826,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48846,7 +48846,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48869,7 +48869,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48892,7 +48892,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48918,7 +48918,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48938,7 +48938,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48961,7 +48961,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -48984,7 +48984,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49010,7 +49010,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49033,7 +49033,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49059,7 +49059,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49085,7 +49085,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49114,7 +49114,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49134,7 +49134,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49157,7 +49157,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49180,7 +49180,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49206,7 +49206,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49229,7 +49229,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49255,7 +49255,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49281,7 +49281,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49310,7 +49310,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49333,7 +49333,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49359,7 +49359,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49385,7 +49385,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49414,7 +49414,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49440,7 +49440,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49469,7 +49469,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49498,7 +49498,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49530,7 +49530,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49542,8 +49542,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49558,8 +49558,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49574,8 +49574,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49593,8 +49593,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49609,8 +49609,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49628,8 +49628,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49647,8 +49647,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49669,8 +49669,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49685,8 +49685,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49704,8 +49704,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49723,8 +49723,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49745,8 +49745,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49764,8 +49764,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49786,8 +49786,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49808,8 +49808,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49833,8 +49833,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49849,8 +49849,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49868,8 +49868,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49887,8 +49887,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49909,8 +49909,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49928,8 +49928,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49950,8 +49950,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49972,8 +49972,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -49997,8 +49997,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50016,8 +50016,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50038,8 +50038,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50060,8 +50060,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50085,8 +50085,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50107,8 +50107,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50132,8 +50132,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50157,8 +50157,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50185,8 +50185,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50201,8 +50201,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50220,8 +50220,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50239,8 +50239,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50261,8 +50261,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50280,8 +50280,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50302,8 +50302,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50324,8 +50324,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50349,8 +50349,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50368,8 +50368,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50390,8 +50390,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50412,8 +50412,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50437,8 +50437,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50459,8 +50459,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50484,8 +50484,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50509,8 +50509,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50537,8 +50537,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50556,8 +50556,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50578,8 +50578,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50600,8 +50600,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50625,8 +50625,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50647,8 +50647,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50672,8 +50672,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50697,8 +50697,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50725,8 +50725,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50747,8 +50747,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50772,8 +50772,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50797,8 +50797,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50825,8 +50825,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50850,8 +50850,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50878,8 +50878,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50906,8 +50906,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50937,8 +50937,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50952,7 +50952,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50969,7 +50969,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -50986,7 +50986,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51006,7 +51006,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51023,7 +51023,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51043,7 +51043,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51063,7 +51063,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51086,7 +51086,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51103,7 +51103,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51123,7 +51123,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51143,7 +51143,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51166,7 +51166,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51186,7 +51186,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51209,7 +51209,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51232,7 +51232,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51258,7 +51258,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51275,7 +51275,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51295,7 +51295,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51315,7 +51315,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51338,7 +51338,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51358,7 +51358,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51381,7 +51381,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51404,7 +51404,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51430,7 +51430,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51450,7 +51450,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51473,7 +51473,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51496,7 +51496,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51522,7 +51522,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51545,7 +51545,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51571,7 +51571,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51597,7 +51597,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51626,7 +51626,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51643,7 +51643,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51663,7 +51663,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51683,7 +51683,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51706,7 +51706,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51726,7 +51726,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51749,7 +51749,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51772,7 +51772,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51798,7 +51798,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51818,7 +51818,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51841,7 +51841,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51864,7 +51864,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51890,7 +51890,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51913,7 +51913,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51939,7 +51939,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51965,7 +51965,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -51994,7 +51994,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52014,7 +52014,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52037,7 +52037,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52060,7 +52060,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52086,7 +52086,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52109,7 +52109,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52135,7 +52135,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52161,7 +52161,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52190,7 +52190,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52213,7 +52213,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52239,7 +52239,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52265,7 +52265,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52294,7 +52294,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52320,7 +52320,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52349,7 +52349,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52378,7 +52378,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52410,7 +52410,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52427,7 +52427,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52447,7 +52447,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52467,7 +52467,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52490,7 +52490,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52510,7 +52510,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52533,7 +52533,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52556,7 +52556,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52582,7 +52582,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52602,7 +52602,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52625,7 +52625,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52648,7 +52648,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52674,7 +52674,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52697,7 +52697,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52723,7 +52723,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52749,7 +52749,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52778,7 +52778,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52798,7 +52798,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52821,7 +52821,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52844,7 +52844,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52870,7 +52870,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52893,7 +52893,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52919,7 +52919,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52945,7 +52945,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52974,7 +52974,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -52997,7 +52997,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53023,7 +53023,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53049,7 +53049,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53078,7 +53078,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53104,7 +53104,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53133,7 +53133,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53162,7 +53162,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53194,7 +53194,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53214,7 +53214,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53237,7 +53237,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53260,7 +53260,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53286,7 +53286,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53309,7 +53309,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53335,7 +53335,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53361,7 +53361,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53390,7 +53390,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53413,7 +53413,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53439,7 +53439,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53465,7 +53465,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53494,7 +53494,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53520,7 +53520,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53549,7 +53549,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53578,7 +53578,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53610,7 +53610,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53633,7 +53633,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53659,7 +53659,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53685,7 +53685,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53714,7 +53714,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53740,7 +53740,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53769,7 +53769,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53798,7 +53798,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53830,7 +53830,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53856,7 +53856,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53885,7 +53885,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53914,7 +53914,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53946,7 +53946,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -53975,7 +53975,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54007,7 +54007,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54039,7 +54039,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54074,7 +54074,7 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54088,9 +54088,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54107,9 +54107,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54126,9 +54126,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54148,9 +54148,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54167,9 +54167,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54189,9 +54189,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54211,9 +54211,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54236,9 +54236,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54255,9 +54255,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54277,9 +54277,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54299,9 +54299,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54324,9 +54324,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54346,9 +54346,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54371,9 +54371,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54396,9 +54396,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54424,9 +54424,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54443,9 +54443,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54465,9 +54465,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54487,9 +54487,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54512,9 +54512,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54534,9 +54534,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54559,9 +54559,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54584,9 +54584,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54612,9 +54612,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54634,9 +54634,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54659,9 +54659,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54684,9 +54684,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54712,9 +54712,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54737,9 +54737,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54765,9 +54765,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54793,9 +54793,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54824,9 +54824,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54843,9 +54843,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54865,9 +54865,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54887,9 +54887,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54912,9 +54912,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54934,9 +54934,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54959,9 +54959,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -54984,9 +54984,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55012,9 +55012,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55034,9 +55034,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55059,9 +55059,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55084,9 +55084,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55112,9 +55112,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55137,9 +55137,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55165,9 +55165,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55193,9 +55193,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55224,9 +55224,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55246,9 +55246,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55271,9 +55271,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55296,9 +55296,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55324,9 +55324,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55349,9 +55349,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55377,9 +55377,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55405,9 +55405,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55436,9 +55436,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55461,9 +55461,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55489,9 +55489,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55517,9 +55517,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55548,9 +55548,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55576,9 +55576,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55607,9 +55607,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55638,9 +55638,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55672,9 +55672,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55686,8 +55686,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55702,8 +55702,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55718,8 +55718,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55737,8 +55737,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55753,8 +55753,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55772,8 +55772,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55791,8 +55791,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55813,8 +55813,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55829,8 +55829,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55848,8 +55848,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55867,8 +55867,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55889,8 +55889,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55908,8 +55908,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55930,8 +55930,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55952,8 +55952,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55977,8 +55977,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -55993,8 +55993,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56012,8 +56012,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56031,8 +56031,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56053,8 +56053,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56072,8 +56072,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56094,8 +56094,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56116,8 +56116,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56141,8 +56141,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56160,8 +56160,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56182,8 +56182,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56204,8 +56204,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56229,8 +56229,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56251,8 +56251,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56276,8 +56276,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56301,8 +56301,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56329,8 +56329,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56345,8 +56345,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56364,8 +56364,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56383,8 +56383,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56405,8 +56405,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56424,8 +56424,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56446,8 +56446,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56468,8 +56468,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56493,8 +56493,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56512,8 +56512,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56534,8 +56534,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56556,8 +56556,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56581,8 +56581,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56603,8 +56603,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56628,8 +56628,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56653,8 +56653,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56681,8 +56681,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56700,8 +56700,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56722,8 +56722,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56744,8 +56744,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56769,8 +56769,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56791,8 +56791,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56816,8 +56816,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56841,8 +56841,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56869,8 +56869,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56891,8 +56891,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56916,8 +56916,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56941,8 +56941,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56969,8 +56969,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -56994,8 +56994,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57022,8 +57022,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57050,8 +57050,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57081,8 +57081,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57097,8 +57097,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57116,8 +57116,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57135,8 +57135,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57157,8 +57157,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57176,8 +57176,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57198,8 +57198,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57220,8 +57220,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57245,8 +57245,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57264,8 +57264,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57286,8 +57286,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57308,8 +57308,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57333,8 +57333,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57355,8 +57355,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57380,8 +57380,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57405,8 +57405,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57433,8 +57433,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57452,8 +57452,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57474,8 +57474,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57496,8 +57496,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57521,8 +57521,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57543,8 +57543,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57568,8 +57568,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57593,8 +57593,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57621,8 +57621,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57643,8 +57643,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57668,8 +57668,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57693,8 +57693,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57721,8 +57721,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57746,8 +57746,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57774,8 +57774,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57802,8 +57802,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57833,8 +57833,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57852,8 +57852,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57874,8 +57874,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57896,8 +57896,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57921,8 +57921,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57943,8 +57943,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57968,8 +57968,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -57993,8 +57993,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58021,8 +58021,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58043,8 +58043,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58068,8 +58068,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58093,8 +58093,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58121,8 +58121,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58146,8 +58146,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58174,8 +58174,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58202,8 +58202,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58233,8 +58233,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58255,8 +58255,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58280,8 +58280,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58305,8 +58305,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58333,8 +58333,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58358,8 +58358,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58386,8 +58386,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58414,8 +58414,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58445,8 +58445,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58470,8 +58470,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58498,8 +58498,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58526,8 +58526,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58557,8 +58557,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58585,8 +58585,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58616,8 +58616,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58647,8 +58647,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58681,8 +58681,8 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58695,9 +58695,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58713,9 +58713,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58731,9 +58731,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58752,9 +58752,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58770,9 +58770,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58791,9 +58791,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58812,9 +58812,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58836,9 +58836,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58854,9 +58854,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58875,9 +58875,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58896,9 +58896,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58920,9 +58920,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58941,9 +58941,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58965,9 +58965,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -58989,9 +58989,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59016,9 +59016,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59034,9 +59034,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59055,9 +59055,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59076,9 +59076,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59100,9 +59100,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59121,9 +59121,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59145,9 +59145,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59169,9 +59169,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59196,9 +59196,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59217,9 +59217,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59241,9 +59241,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59265,9 +59265,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59292,9 +59292,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59316,9 +59316,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59343,9 +59343,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59370,9 +59370,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59400,9 +59400,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59418,9 +59418,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59439,9 +59439,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59460,9 +59460,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59484,9 +59484,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59505,9 +59505,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59529,9 +59529,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59553,9 +59553,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59580,9 +59580,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59601,9 +59601,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59625,9 +59625,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59649,9 +59649,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59676,9 +59676,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59700,9 +59700,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59727,9 +59727,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59754,9 +59754,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59784,9 +59784,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59805,9 +59805,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSource, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59829,9 +59829,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59853,9 +59853,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59880,9 +59880,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59904,9 +59904,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59931,9 +59931,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59958,9 +59958,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -59988,9 +59988,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60012,9 +60012,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60039,9 +60039,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60066,9 +60066,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60096,9 +60096,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60123,9 +60123,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60153,9 +60153,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60183,9 +60183,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -60216,9 +60216,9 @@ public readonly unsafe int CompileWithDebug(IDxcBlob* pSource, string pSourceNam } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); return ret; } @@ -63111,7 +63111,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63128,7 +63128,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63145,7 +63145,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63165,7 +63165,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63182,7 +63182,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63202,7 +63202,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63222,7 +63222,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63245,7 +63245,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63262,7 +63262,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63282,7 +63282,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63302,7 +63302,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63325,7 +63325,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63345,7 +63345,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63368,7 +63368,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63391,7 +63391,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63417,7 +63417,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63434,7 +63434,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63454,7 +63454,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63474,7 +63474,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63497,7 +63497,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63517,7 +63517,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63540,7 +63540,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63563,7 +63563,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63589,7 +63589,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63609,7 +63609,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63632,7 +63632,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63655,7 +63655,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63681,7 +63681,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63704,7 +63704,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63730,7 +63730,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63756,7 +63756,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63785,7 +63785,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63802,7 +63802,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63822,7 +63822,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63842,7 +63842,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63865,7 +63865,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63885,7 +63885,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63908,7 +63908,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63931,7 +63931,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63957,7 +63957,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -63977,7 +63977,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64000,7 +64000,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64023,7 +64023,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64049,7 +64049,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64072,7 +64072,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64098,7 +64098,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64124,7 +64124,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64153,7 +64153,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64173,7 +64173,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64196,7 +64196,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64219,7 +64219,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64245,7 +64245,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64268,7 +64268,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64294,7 +64294,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64320,7 +64320,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64349,7 +64349,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64372,7 +64372,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64398,7 +64398,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64424,7 +64424,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64453,7 +64453,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64479,7 +64479,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64508,7 +64508,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64537,7 +64537,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -64569,7 +64569,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -67849,7 +67849,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67869,7 +67869,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67889,7 +67889,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67912,7 +67912,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67932,7 +67932,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67955,7 +67955,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -67978,7 +67978,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68004,7 +68004,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68024,7 +68024,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68047,7 +68047,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68070,7 +68070,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68096,7 +68096,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68119,7 +68119,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68145,7 +68145,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68171,7 +68171,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68200,7 +68200,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68220,7 +68220,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68243,7 +68243,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68266,7 +68266,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68292,7 +68292,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68315,7 +68315,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68341,7 +68341,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68367,7 +68367,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68396,7 +68396,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68419,7 +68419,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68445,7 +68445,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68471,7 +68471,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68500,7 +68500,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68526,7 +68526,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68555,7 +68555,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68584,7 +68584,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68616,7 +68616,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68636,7 +68636,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68659,7 +68659,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68682,7 +68682,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68708,7 +68708,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68731,7 +68731,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68757,7 +68757,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68783,7 +68783,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68812,7 +68812,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68835,7 +68835,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68861,7 +68861,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68887,7 +68887,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68916,7 +68916,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68942,7 +68942,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -68971,7 +68971,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69000,7 +69000,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69032,7 +69032,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69055,7 +69055,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69081,7 +69081,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69107,7 +69107,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69136,7 +69136,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69162,7 +69162,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69191,7 +69191,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69220,7 +69220,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69252,7 +69252,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69278,7 +69278,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69307,7 +69307,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69336,7 +69336,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69368,7 +69368,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69397,7 +69397,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69429,7 +69429,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69461,7 +69461,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69496,7 +69496,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -69511,7 +69511,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69528,7 +69528,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69545,7 +69545,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69565,7 +69565,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69582,7 +69582,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69602,7 +69602,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69622,7 +69622,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69645,7 +69645,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69662,7 +69662,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69682,7 +69682,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69702,7 +69702,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69725,7 +69725,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69745,7 +69745,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69768,7 +69768,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69791,7 +69791,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69817,7 +69817,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69834,7 +69834,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69854,7 +69854,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69874,7 +69874,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69897,7 +69897,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69917,7 +69917,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69940,7 +69940,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69963,7 +69963,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -69989,7 +69989,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70009,7 +70009,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70032,7 +70032,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70055,7 +70055,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70081,7 +70081,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70104,7 +70104,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70130,7 +70130,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70156,7 +70156,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70185,7 +70185,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70202,7 +70202,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70222,7 +70222,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70242,7 +70242,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70265,7 +70265,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70285,7 +70285,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70308,7 +70308,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70331,7 +70331,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70357,7 +70357,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70377,7 +70377,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70400,7 +70400,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70423,7 +70423,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70449,7 +70449,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70472,7 +70472,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70498,7 +70498,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70524,7 +70524,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70553,7 +70553,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70573,7 +70573,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70596,7 +70596,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70619,7 +70619,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70645,7 +70645,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70668,7 +70668,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70694,7 +70694,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70720,7 +70720,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70749,7 +70749,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70772,7 +70772,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70798,7 +70798,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70824,7 +70824,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70853,7 +70853,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70879,7 +70879,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70908,7 +70908,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70937,7 +70937,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70969,7 +70969,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -70986,7 +70986,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71006,7 +71006,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71026,7 +71026,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71049,7 +71049,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71069,7 +71069,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71092,7 +71092,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71115,7 +71115,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71141,7 +71141,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71161,7 +71161,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71184,7 +71184,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71207,7 +71207,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71233,7 +71233,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71256,7 +71256,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71282,7 +71282,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71308,7 +71308,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71337,7 +71337,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71357,7 +71357,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71380,7 +71380,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71403,7 +71403,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71429,7 +71429,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71452,7 +71452,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71478,7 +71478,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71504,7 +71504,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71533,7 +71533,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71556,7 +71556,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71582,7 +71582,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71608,7 +71608,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71637,7 +71637,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71663,7 +71663,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71692,7 +71692,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71721,7 +71721,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71753,7 +71753,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71773,7 +71773,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71796,7 +71796,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71819,7 +71819,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71845,7 +71845,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71868,7 +71868,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71894,7 +71894,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71920,7 +71920,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71949,7 +71949,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71972,7 +71972,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -71998,7 +71998,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72024,7 +72024,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72053,7 +72053,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72079,7 +72079,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72108,7 +72108,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72137,7 +72137,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72169,7 +72169,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72192,7 +72192,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72218,7 +72218,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72244,7 +72244,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72273,7 +72273,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72299,7 +72299,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72328,7 +72328,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72357,7 +72357,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72389,7 +72389,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72415,7 +72415,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72444,7 +72444,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72473,7 +72473,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72505,7 +72505,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72534,7 +72534,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72566,7 +72566,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72598,7 +72598,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72633,7 +72633,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72648,8 +72648,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72667,8 +72667,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72686,8 +72686,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72708,8 +72708,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72727,8 +72727,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72749,8 +72749,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72771,8 +72771,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72796,8 +72796,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72815,8 +72815,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72837,8 +72837,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72859,8 +72859,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72884,8 +72884,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72906,8 +72906,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72931,8 +72931,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72956,8 +72956,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -72984,8 +72984,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73003,8 +73003,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73025,8 +73025,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73047,8 +73047,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73072,8 +73072,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73094,8 +73094,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73119,8 +73119,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73144,8 +73144,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73172,8 +73172,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73194,8 +73194,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73219,8 +73219,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73244,8 +73244,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73272,8 +73272,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73297,8 +73297,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73325,8 +73325,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73353,8 +73353,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73384,8 +73384,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73403,8 +73403,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73425,8 +73425,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73447,8 +73447,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73472,8 +73472,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73494,8 +73494,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73519,8 +73519,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73544,8 +73544,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73572,8 +73572,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73594,8 +73594,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73619,8 +73619,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73644,8 +73644,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73672,8 +73672,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73697,8 +73697,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73725,8 +73725,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73753,8 +73753,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73784,8 +73784,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73806,8 +73806,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceName, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73831,8 +73831,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73856,8 +73856,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73884,8 +73884,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73909,8 +73909,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73937,8 +73937,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73965,8 +73965,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -73996,8 +73996,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74021,8 +74021,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74049,8 +74049,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74077,8 +74077,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74108,8 +74108,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74136,8 +74136,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74167,8 +74167,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74198,8 +74198,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -74232,8 +74232,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, char* pSourceN } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } return ret; } @@ -77513,7 +77513,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77533,7 +77533,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77553,7 +77553,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77576,7 +77576,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77596,7 +77596,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77619,7 +77619,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77642,7 +77642,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77668,7 +77668,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77688,7 +77688,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77711,7 +77711,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77734,7 +77734,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77760,7 +77760,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77783,7 +77783,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77809,7 +77809,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77835,7 +77835,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77864,7 +77864,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77884,7 +77884,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77907,7 +77907,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77930,7 +77930,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77956,7 +77956,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -77979,7 +77979,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78005,7 +78005,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78031,7 +78031,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78060,7 +78060,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78083,7 +78083,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78109,7 +78109,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78135,7 +78135,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78164,7 +78164,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78190,7 +78190,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78219,7 +78219,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78248,7 +78248,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78280,7 +78280,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78300,7 +78300,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78323,7 +78323,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78346,7 +78346,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78372,7 +78372,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78395,7 +78395,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78421,7 +78421,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78447,7 +78447,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78476,7 +78476,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78499,7 +78499,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78525,7 +78525,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78551,7 +78551,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78580,7 +78580,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78606,7 +78606,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78635,7 +78635,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78664,7 +78664,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78696,7 +78696,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78719,7 +78719,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78745,7 +78745,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78771,7 +78771,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78800,7 +78800,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78826,7 +78826,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78855,7 +78855,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78884,7 +78884,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78916,7 +78916,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78942,7 +78942,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -78971,7 +78971,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79000,7 +79000,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79032,7 +79032,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79061,7 +79061,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79093,7 +79093,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79125,7 +79125,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -79160,7 +79160,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } return ret; @@ -82827,7 +82827,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82850,7 +82850,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82873,7 +82873,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82899,7 +82899,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82922,7 +82922,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82948,7 +82948,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -82974,7 +82974,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83003,7 +83003,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83026,7 +83026,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83052,7 +83052,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83078,7 +83078,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83107,7 +83107,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83133,7 +83133,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83162,7 +83162,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83191,7 +83191,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83223,7 +83223,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83246,7 +83246,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83272,7 +83272,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83298,7 +83298,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83327,7 +83327,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83353,7 +83353,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83382,7 +83382,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83411,7 +83411,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83443,7 +83443,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83469,7 +83469,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83498,7 +83498,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83527,7 +83527,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83559,7 +83559,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83588,7 +83588,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83620,7 +83620,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83652,7 +83652,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83687,7 +83687,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83710,7 +83710,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83736,7 +83736,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83762,7 +83762,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83791,7 +83791,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83817,7 +83817,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83846,7 +83846,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83875,7 +83875,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83907,7 +83907,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83933,7 +83933,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83962,7 +83962,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -83991,7 +83991,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84023,7 +84023,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84052,7 +84052,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84084,7 +84084,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84116,7 +84116,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84151,7 +84151,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84177,7 +84177,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84206,7 +84206,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84235,7 +84235,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84267,7 +84267,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84296,7 +84296,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84328,7 +84328,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84360,7 +84360,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84395,7 +84395,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84424,7 +84424,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84456,7 +84456,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84488,7 +84488,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84523,7 +84523,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84555,7 +84555,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84590,7 +84590,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84625,7 +84625,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84663,7 +84663,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } } } @@ -84681,7 +84681,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84701,7 +84701,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84721,7 +84721,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84744,7 +84744,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84764,7 +84764,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84787,7 +84787,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84810,7 +84810,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84836,7 +84836,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84856,7 +84856,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84879,7 +84879,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84902,7 +84902,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84928,7 +84928,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84951,7 +84951,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -84977,7 +84977,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85003,7 +85003,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85032,7 +85032,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85052,7 +85052,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85075,7 +85075,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85098,7 +85098,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85124,7 +85124,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85147,7 +85147,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85173,7 +85173,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85199,7 +85199,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85228,7 +85228,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85251,7 +85251,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85277,7 +85277,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85303,7 +85303,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85332,7 +85332,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85358,7 +85358,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85387,7 +85387,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85416,7 +85416,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85448,7 +85448,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85468,7 +85468,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85491,7 +85491,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85514,7 +85514,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85540,7 +85540,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85563,7 +85563,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85589,7 +85589,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85615,7 +85615,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85644,7 +85644,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85667,7 +85667,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85693,7 +85693,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85719,7 +85719,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85748,7 +85748,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85774,7 +85774,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85803,7 +85803,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85832,7 +85832,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85864,7 +85864,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85887,7 +85887,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85913,7 +85913,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85939,7 +85939,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85968,7 +85968,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -85994,7 +85994,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86023,7 +86023,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86052,7 +86052,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86084,7 +86084,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86110,7 +86110,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86139,7 +86139,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86168,7 +86168,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86200,7 +86200,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86229,7 +86229,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86261,7 +86261,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86293,7 +86293,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86328,7 +86328,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86348,7 +86348,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86371,7 +86371,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86394,7 +86394,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86420,7 +86420,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86443,7 +86443,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86469,7 +86469,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86495,7 +86495,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86524,7 +86524,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86547,7 +86547,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86573,7 +86573,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86599,7 +86599,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86628,7 +86628,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86654,7 +86654,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86683,7 +86683,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86712,7 +86712,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86744,7 +86744,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86767,7 +86767,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86793,7 +86793,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86819,7 +86819,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86848,7 +86848,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86874,7 +86874,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86903,7 +86903,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86932,7 +86932,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86964,7 +86964,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -86990,7 +86990,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87019,7 +87019,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87048,7 +87048,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87080,7 +87080,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87109,7 +87109,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87141,7 +87141,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87173,7 +87173,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87208,7 +87208,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87231,7 +87231,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87257,7 +87257,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87283,7 +87283,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87312,7 +87312,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87338,7 +87338,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87367,7 +87367,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87396,7 +87396,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87428,7 +87428,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87454,7 +87454,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87483,7 +87483,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87512,7 +87512,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87544,7 +87544,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87573,7 +87573,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87605,7 +87605,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87637,7 +87637,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87672,7 +87672,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87698,7 +87698,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87727,7 +87727,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87756,7 +87756,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87788,7 +87788,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87817,7 +87817,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87849,7 +87849,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87881,7 +87881,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87916,7 +87916,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87945,7 +87945,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -87977,7 +87977,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88009,7 +88009,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88044,7 +88044,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88076,7 +88076,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88111,7 +88111,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88146,7 +88146,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88184,7 +88184,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88202,8 +88202,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88224,8 +88224,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88246,8 +88246,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88271,8 +88271,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88293,8 +88293,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88318,8 +88318,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88343,8 +88343,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88371,8 +88371,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88393,8 +88393,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88418,8 +88418,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88443,8 +88443,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88471,8 +88471,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88496,8 +88496,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88524,8 +88524,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88552,8 +88552,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88583,8 +88583,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88605,8 +88605,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88630,8 +88630,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88655,8 +88655,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88683,8 +88683,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88708,8 +88708,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88736,8 +88736,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88764,8 +88764,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88795,8 +88795,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88820,8 +88820,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88848,8 +88848,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88876,8 +88876,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88907,8 +88907,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88935,8 +88935,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88966,8 +88966,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -88997,8 +88997,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89031,8 +89031,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89053,8 +89053,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89078,8 +89078,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89103,8 +89103,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89131,8 +89131,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89156,8 +89156,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89184,8 +89184,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89212,8 +89212,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89243,8 +89243,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89268,8 +89268,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89296,8 +89296,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89324,8 +89324,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89355,8 +89355,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89383,8 +89383,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89414,8 +89414,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89445,8 +89445,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89479,8 +89479,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89504,8 +89504,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89532,8 +89532,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89560,8 +89560,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89591,8 +89591,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89619,8 +89619,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89650,8 +89650,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89681,8 +89681,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89715,8 +89715,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89743,8 +89743,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89774,8 +89774,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89805,8 +89805,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89839,8 +89839,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89870,8 +89870,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89904,8 +89904,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89938,8 +89938,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89975,8 +89975,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, ref char pSour } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); } } return ret; @@ -89991,7 +89991,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90008,7 +90008,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90025,7 +90025,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90045,7 +90045,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90062,7 +90062,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90082,7 +90082,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90102,7 +90102,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90125,7 +90125,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90142,7 +90142,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90162,7 +90162,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90182,7 +90182,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90205,7 +90205,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90225,7 +90225,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90248,7 +90248,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90271,7 +90271,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90297,7 +90297,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90314,7 +90314,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90334,7 +90334,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90354,7 +90354,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90377,7 +90377,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90397,7 +90397,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90420,7 +90420,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90443,7 +90443,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90469,7 +90469,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90489,7 +90489,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90512,7 +90512,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90535,7 +90535,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90561,7 +90561,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90584,7 +90584,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90610,7 +90610,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90636,7 +90636,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90665,7 +90665,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90682,7 +90682,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90702,7 +90702,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90722,7 +90722,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90745,7 +90745,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90765,7 +90765,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90788,7 +90788,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90811,7 +90811,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90837,7 +90837,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90857,7 +90857,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90880,7 +90880,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90903,7 +90903,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90929,7 +90929,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90952,7 +90952,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -90978,7 +90978,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91004,7 +91004,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91033,7 +91033,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91053,7 +91053,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91076,7 +91076,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91099,7 +91099,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91125,7 +91125,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91148,7 +91148,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91174,7 +91174,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91200,7 +91200,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91229,7 +91229,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91252,7 +91252,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91278,7 +91278,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91304,7 +91304,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91333,7 +91333,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91359,7 +91359,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91388,7 +91388,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91417,7 +91417,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91449,7 +91449,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91466,7 +91466,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91486,7 +91486,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91506,7 +91506,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91529,7 +91529,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91549,7 +91549,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91572,7 +91572,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91595,7 +91595,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91621,7 +91621,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91641,7 +91641,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91664,7 +91664,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91687,7 +91687,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91713,7 +91713,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91736,7 +91736,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91762,7 +91762,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91788,7 +91788,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91817,7 +91817,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91837,7 +91837,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91860,7 +91860,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91883,7 +91883,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91909,7 +91909,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91932,7 +91932,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91958,7 +91958,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -91984,7 +91984,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92013,7 +92013,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92036,7 +92036,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92062,7 +92062,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92088,7 +92088,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92117,7 +92117,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92143,7 +92143,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92172,7 +92172,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92201,7 +92201,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92233,7 +92233,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92253,7 +92253,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92276,7 +92276,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92299,7 +92299,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92325,7 +92325,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92348,7 +92348,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92374,7 +92374,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92400,7 +92400,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92429,7 +92429,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92452,7 +92452,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92478,7 +92478,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92504,7 +92504,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92533,7 +92533,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92559,7 +92559,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92588,7 +92588,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92617,7 +92617,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92649,7 +92649,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92672,7 +92672,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92698,7 +92698,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92724,7 +92724,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92753,7 +92753,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92779,7 +92779,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92808,7 +92808,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92837,7 +92837,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92869,7 +92869,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92895,7 +92895,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92924,7 +92924,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92953,7 +92953,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -92985,7 +92985,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93014,7 +93014,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93046,7 +93046,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93078,7 +93078,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93113,7 +93113,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93128,8 +93128,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93147,8 +93147,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93166,8 +93166,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93188,8 +93188,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93207,8 +93207,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93229,8 +93229,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93251,8 +93251,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93276,8 +93276,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93295,8 +93295,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93317,8 +93317,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93339,8 +93339,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93364,8 +93364,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93386,8 +93386,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93411,8 +93411,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93436,8 +93436,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93464,8 +93464,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93483,8 +93483,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93505,8 +93505,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93527,8 +93527,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93552,8 +93552,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93574,8 +93574,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93599,8 +93599,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93624,8 +93624,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93652,8 +93652,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93674,8 +93674,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93699,8 +93699,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93724,8 +93724,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93752,8 +93752,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93777,8 +93777,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93805,8 +93805,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93833,8 +93833,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93864,8 +93864,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93883,8 +93883,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93905,8 +93905,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93927,8 +93927,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93952,8 +93952,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93974,8 +93974,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -93999,8 +93999,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94024,8 +94024,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94052,8 +94052,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94074,8 +94074,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94099,8 +94099,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94124,8 +94124,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94152,8 +94152,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94177,8 +94177,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94205,8 +94205,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94233,8 +94233,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94264,8 +94264,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94286,8 +94286,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPoint, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94311,8 +94311,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94336,8 +94336,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94364,8 +94364,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94389,8 +94389,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94417,8 +94417,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94445,8 +94445,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94476,8 +94476,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94501,8 +94501,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94529,8 +94529,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94557,8 +94557,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94588,8 +94588,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94616,8 +94616,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94647,8 +94647,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94678,8 +94678,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94712,8 +94712,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94730,7 +94730,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94750,7 +94750,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94770,7 +94770,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94793,7 +94793,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94813,7 +94813,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94836,7 +94836,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94859,7 +94859,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94885,7 +94885,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94905,7 +94905,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94928,7 +94928,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94951,7 +94951,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -94977,7 +94977,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95000,7 +95000,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95026,7 +95026,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95052,7 +95052,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95081,7 +95081,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95101,7 +95101,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95124,7 +95124,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95147,7 +95147,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95173,7 +95173,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95196,7 +95196,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95222,7 +95222,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95248,7 +95248,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95277,7 +95277,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95300,7 +95300,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95326,7 +95326,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95352,7 +95352,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95381,7 +95381,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95407,7 +95407,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95436,7 +95436,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95465,7 +95465,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95497,7 +95497,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95517,7 +95517,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95540,7 +95540,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95563,7 +95563,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95589,7 +95589,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95612,7 +95612,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95638,7 +95638,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95664,7 +95664,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95693,7 +95693,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95716,7 +95716,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95742,7 +95742,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95768,7 +95768,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95797,7 +95797,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95823,7 +95823,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95852,7 +95852,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95881,7 +95881,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95913,7 +95913,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95936,7 +95936,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95962,7 +95962,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -95988,7 +95988,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96017,7 +96017,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96043,7 +96043,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96072,7 +96072,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96101,7 +96101,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96133,7 +96133,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96159,7 +96159,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96188,7 +96188,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96217,7 +96217,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96249,7 +96249,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96278,7 +96278,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96310,7 +96310,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96342,7 +96342,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96377,7 +96377,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96397,7 +96397,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96420,7 +96420,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96443,7 +96443,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96469,7 +96469,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96492,7 +96492,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96518,7 +96518,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96544,7 +96544,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96573,7 +96573,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96596,7 +96596,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96622,7 +96622,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96648,7 +96648,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96677,7 +96677,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96703,7 +96703,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96732,7 +96732,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96761,7 +96761,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96793,7 +96793,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96816,7 +96816,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96842,7 +96842,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96868,7 +96868,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96897,7 +96897,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96923,7 +96923,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96952,7 +96952,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -96981,7 +96981,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97013,7 +97013,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97039,7 +97039,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97068,7 +97068,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97097,7 +97097,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97129,7 +97129,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97158,7 +97158,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97190,7 +97190,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97222,7 +97222,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97257,7 +97257,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97280,7 +97280,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97306,7 +97306,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97332,7 +97332,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97361,7 +97361,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97387,7 +97387,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97416,7 +97416,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97445,7 +97445,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97477,7 +97477,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97503,7 +97503,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97532,7 +97532,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97561,7 +97561,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97593,7 +97593,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97622,7 +97622,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97654,7 +97654,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97686,7 +97686,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97721,7 +97721,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97747,7 +97747,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97776,7 +97776,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97805,7 +97805,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97837,7 +97837,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97866,7 +97866,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97898,7 +97898,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97930,7 +97930,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97965,7 +97965,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -97994,7 +97994,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98026,7 +98026,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98058,7 +98058,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98093,7 +98093,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98125,7 +98125,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98160,7 +98160,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98195,7 +98195,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98233,7 +98233,7 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98250,9 +98250,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98272,9 +98272,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98294,9 +98294,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98319,9 +98319,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98341,9 +98341,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98366,9 +98366,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98391,9 +98391,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98419,9 +98419,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98441,9 +98441,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98466,9 +98466,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98491,9 +98491,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98519,9 +98519,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98544,9 +98544,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98572,9 +98572,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98600,9 +98600,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98631,9 +98631,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98653,9 +98653,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98678,9 +98678,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98703,9 +98703,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98731,9 +98731,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98756,9 +98756,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98784,9 +98784,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98812,9 +98812,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98843,9 +98843,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98868,9 +98868,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98896,9 +98896,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98924,9 +98924,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98955,9 +98955,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -98983,9 +98983,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99014,9 +99014,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99045,9 +99045,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99079,9 +99079,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99101,9 +99101,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99126,9 +99126,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99151,9 +99151,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99179,9 +99179,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99204,9 +99204,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99232,9 +99232,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99260,9 +99260,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99291,9 +99291,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99316,9 +99316,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99344,9 +99344,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99372,9 +99372,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99403,9 +99403,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99431,9 +99431,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99462,9 +99462,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99493,9 +99493,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99527,9 +99527,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99552,9 +99552,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99580,9 +99580,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99608,9 +99608,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99639,9 +99639,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99667,9 +99667,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99698,9 +99698,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99729,9 +99729,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99763,9 +99763,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99791,9 +99791,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99822,9 +99822,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99853,9 +99853,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99887,9 +99887,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99918,9 +99918,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99952,9 +99952,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -99986,9 +99986,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100023,9 +100023,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100040,8 +100040,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource var pSourceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSourceName); var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100059,8 +100059,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100078,8 +100078,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100100,8 +100100,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100119,8 +100119,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100141,8 +100141,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100163,8 +100163,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100188,8 +100188,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100207,8 +100207,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100229,8 +100229,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100251,8 +100251,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100276,8 +100276,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100298,8 +100298,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100323,8 +100323,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100348,8 +100348,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100376,8 +100376,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100395,8 +100395,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100417,8 +100417,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100439,8 +100439,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100464,8 +100464,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100486,8 +100486,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100511,8 +100511,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100536,8 +100536,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100564,8 +100564,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100586,8 +100586,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100611,8 +100611,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100636,8 +100636,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100664,8 +100664,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100689,8 +100689,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100717,8 +100717,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100745,8 +100745,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100776,8 +100776,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100795,8 +100795,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100817,8 +100817,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100839,8 +100839,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100864,8 +100864,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100886,8 +100886,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100911,8 +100911,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100936,8 +100936,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100964,8 +100964,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -100986,8 +100986,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101011,8 +101011,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101036,8 +101036,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101064,8 +101064,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101089,8 +101089,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101117,8 +101117,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101145,8 +101145,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101176,8 +101176,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101198,8 +101198,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfile, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101223,8 +101223,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101248,8 +101248,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101276,8 +101276,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101301,8 +101301,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101329,8 +101329,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101357,8 +101357,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101388,8 +101388,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101413,8 +101413,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101441,8 +101441,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101469,8 +101469,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101500,8 +101500,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101528,8 +101528,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101559,8 +101559,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101590,8 +101590,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101624,8 +101624,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101643,8 +101643,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101665,8 +101665,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101687,8 +101687,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101712,8 +101712,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101734,8 +101734,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101759,8 +101759,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101784,8 +101784,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101812,8 +101812,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101834,8 +101834,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101859,8 +101859,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101884,8 +101884,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101912,8 +101912,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101937,8 +101937,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101965,8 +101965,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -101993,8 +101993,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102024,8 +102024,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102046,8 +102046,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102071,8 +102071,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102096,8 +102096,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102124,8 +102124,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102149,8 +102149,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102177,8 +102177,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102205,8 +102205,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102236,8 +102236,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102261,8 +102261,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102289,8 +102289,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102317,8 +102317,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102348,8 +102348,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102376,8 +102376,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102407,8 +102407,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102438,8 +102438,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102472,8 +102472,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102494,8 +102494,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102519,8 +102519,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102544,8 +102544,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102572,8 +102572,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102597,8 +102597,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102625,8 +102625,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102653,8 +102653,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102684,8 +102684,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102709,8 +102709,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102737,8 +102737,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102765,8 +102765,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102796,8 +102796,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102824,8 +102824,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102855,8 +102855,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102886,8 +102886,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102920,8 +102920,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102945,8 +102945,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -102973,8 +102973,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103001,8 +103001,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103032,8 +103032,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103060,8 +103060,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103091,8 +103091,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103122,8 +103122,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103156,8 +103156,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103184,8 +103184,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103215,8 +103215,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103246,8 +103246,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103280,8 +103280,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103311,8 +103311,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103345,8 +103345,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103379,8 +103379,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103416,8 +103416,8 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103433,9 +103433,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource var pEntryPointPtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryPoint); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103454,9 +103454,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103475,9 +103475,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103499,9 +103499,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103520,9 +103520,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103544,9 +103544,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103568,9 +103568,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103595,9 +103595,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103616,9 +103616,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103640,9 +103640,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103664,9 +103664,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103691,9 +103691,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103715,9 +103715,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103742,9 +103742,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103769,9 +103769,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103799,9 +103799,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103820,9 +103820,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103844,9 +103844,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103868,9 +103868,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103895,9 +103895,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103919,9 +103919,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103946,9 +103946,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -103973,9 +103973,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104003,9 +104003,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104027,9 +104027,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArguments, argCount, pDefinesPtr, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104054,9 +104054,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104081,9 +104081,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104111,9 +104111,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104138,9 +104138,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104168,9 +104168,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104198,9 +104198,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104231,9 +104231,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104252,9 +104252,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104276,9 +104276,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlobPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104300,9 +104300,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobNamePtr, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104327,9 +104327,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104351,9 +104351,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandler, ppResultPtr, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104378,9 +104378,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104405,9 +104405,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104435,9 +104435,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104459,9 +104459,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefines, defineCount, pIncludeHandlerPtr, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104486,9 +104486,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104513,9 +104513,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104543,9 +104543,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104570,9 +104570,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104600,9 +104600,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104630,9 +104630,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104663,9 +104663,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104687,9 +104687,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pSourcePtr, pSourceNamePtr, pEntryPointPtr, pTargetProfilePtr, pArgumentsPtr, argCount, pDefinesPtr, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104714,9 +104714,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104741,9 +104741,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104771,9 +104771,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104798,9 +104798,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104828,9 +104828,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104858,9 +104858,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104891,9 +104891,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104918,9 +104918,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104948,9 +104948,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -104978,9 +104978,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -105011,9 +105011,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -105041,9 +105041,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -105074,9 +105074,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -105107,9 +105107,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } @@ -105143,9 +105143,9 @@ public readonly unsafe int CompileWithDebug(ref IDxcBlob pSource, string pSource } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryPointPtr); - Marshal.FreeHGlobal((IntPtr)pSourceNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryPointPtr); + Marshal.FreeHGlobal((nint)pSourceNamePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcIncludeHandler.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcIncludeHandler.gen.cs index a9bb505b94..b78b7de79c 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcIncludeHandler.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcIncludeHandler.gen.cs @@ -162,7 +162,7 @@ public readonly unsafe int LoadSource(string pFilename, IDxcBlob** ppIncludeSour int ret = default; var pFilenamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFilename); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pFilenamePtr, ppIncludeSource); - Marshal.FreeHGlobal((IntPtr)pFilenamePtr); + Marshal.FreeHGlobal((nint)pFilenamePtr); return ret; } @@ -176,7 +176,7 @@ public readonly unsafe int LoadSource(string pFilename, ref IDxcBlob* ppIncludeS { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pFilenamePtr, ppIncludeSourcePtr); } - Marshal.FreeHGlobal((IntPtr)pFilenamePtr); + Marshal.FreeHGlobal((nint)pFilenamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLibrary.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLibrary.gen.cs index eb3c7a2656..d6e1ba447d 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLibrary.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLibrary.gen.cs @@ -291,7 +291,7 @@ public readonly unsafe int CreateBlobFromFile(string pFileName, uint* codePage, int ret = default; var pFileNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFileName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pFileNamePtr, codePage, pBlobEncoding); - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -305,7 +305,7 @@ public readonly unsafe int CreateBlobFromFile(string pFileName, uint* codePage, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pFileNamePtr, codePage, pBlobEncodingPtr); } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -319,7 +319,7 @@ public readonly unsafe int CreateBlobFromFile(string pFileName, ref uint codePag { ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pFileNamePtr, codePagePtr, pBlobEncoding); } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } @@ -336,7 +336,7 @@ public readonly unsafe int CreateBlobFromFile(string pFileName, ref uint codePag ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, pFileNamePtr, codePagePtr, pBlobEncodingPtr); } } - Marshal.FreeHGlobal((IntPtr)pFileNamePtr); + Marshal.FreeHGlobal((nint)pFileNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLinker.gen.cs b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLinker.gen.cs index ef96dbea7d..3b691a1bf7 100644 --- a/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLinker.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D.Compilers/Structs/IDxcLinker.gen.cs @@ -162,7 +162,7 @@ public readonly unsafe int RegisterLibrary(string pLibName, IDxcBlob* pLib) int ret = default; var pLibNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pLibName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pLibNamePtr, pLib); - Marshal.FreeHGlobal((IntPtr)pLibNamePtr); + Marshal.FreeHGlobal((nint)pLibNamePtr); return ret; } @@ -176,7 +176,7 @@ public readonly int RegisterLibrary(string pLibName, ref IDxcBlob pLib) { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pLibNamePtr, pLibPtr); } - Marshal.FreeHGlobal((IntPtr)pLibNamePtr); + Marshal.FreeHGlobal((nint)pLibNamePtr); return ret; } @@ -427,7 +427,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, char** int ret = default; var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -441,7 +441,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -455,7 +455,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -472,7 +472,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, char** ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -486,7 +486,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -503,7 +503,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -520,7 +520,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryName, pTargetProfilePtr, pLibNamesPtr, libCount, pArgumentsPtr, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -540,7 +540,7 @@ public readonly unsafe int Link(char* pEntryName, string pTargetProfile, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); return ret; } @@ -841,7 +841,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, char { var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -858,7 +858,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -875,7 +875,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -895,7 +895,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -912,7 +912,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -932,7 +932,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -952,7 +952,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArgumentsPtr, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -975,7 +975,7 @@ public readonly unsafe int Link(ref char pEntryName, string pTargetProfile, ref } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); } return ret; } @@ -987,7 +987,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, char** int ret = default; var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNames, libCount, pArguments, argCount, ppResult); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1001,7 +1001,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNames, libCount, pArguments, argCount, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1015,7 +1015,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNames, libCount, pArgumentsPtr, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1032,7 +1032,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, char** ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNames, libCount, pArgumentsPtr, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1046,7 +1046,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, ref cha { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNamesPtr, libCount, pArguments, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1063,7 +1063,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNamesPtr, libCount, pArguments, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1080,7 +1080,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, ref cha ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfile, pLibNamesPtr, libCount, pArgumentsPtr, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1100,7 +1100,7 @@ public readonly unsafe int Link(string pEntryName, char* pTargetProfile, ref cha } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1114,7 +1114,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, char { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1131,7 +1131,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1148,7 +1148,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, char ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1168,7 +1168,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, char } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1185,7 +1185,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, ref ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1205,7 +1205,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, ref } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1225,7 +1225,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, ref } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1248,7 +1248,7 @@ public readonly unsafe int Link(string pEntryName, ref char pTargetProfile, ref } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1260,8 +1260,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, char** var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); var pTargetProfilePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetProfile); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResult); - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1276,8 +1276,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArguments, argCount, ppResultPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1292,8 +1292,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, char** { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1311,8 +1311,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, char** ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNames, libCount, pArgumentsPtr, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1327,8 +1327,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, ref ch { ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResult); } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1346,8 +1346,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArguments, argCount, ppResultPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1365,8 +1365,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, ref ch ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pEntryNamePtr, pTargetProfilePtr, pLibNamesPtr, libCount, pArgumentsPtr, argCount, ppResult); } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -1387,8 +1387,8 @@ public readonly unsafe int Link(string pEntryName, string pTargetProfile, ref ch } } } - Marshal.FreeHGlobal((IntPtr)pTargetProfilePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetProfilePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/D3D11.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/D3D11.gen.cs index f4cd411b66..0a508e24cb 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/D3D11.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/D3D11.gen.cs @@ -62,802 +62,802 @@ public unsafe partial class D3D11 : NativeAPI /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDevice")] - public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDevice(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] [NativeApi(EntryPoint = "D3D11CreateDeviceAndSwapChain")] - public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); + public unsafe partial int CreateDeviceAndSwapChain(ref Silk.NET.DXGI.IDXGIAdapter pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref Silk.NET.DXGI.SwapChainDesc pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, ref Silk.NET.Core.Native.D3DFeatureLevel pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext); public D3D11(INativeContext ctx) diff --git a/src/Microsoft/Silk.NET.Direct3D11/D3D11Overloads.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/D3D11Overloads.gen.cs index deabdb5e18..11ca5ce70f 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/D3D11Overloads.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/D3D11Overloads.gen.cs @@ -68,7 +68,7 @@ public static unsafe int D3DDisassemble11Trace(this D3D11 thisApi, Span /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -76,7 +76,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -84,7 +84,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -92,7 +92,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -100,7 +100,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ppImmediateContext); @@ -108,7 +108,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -116,7 +116,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -124,7 +124,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -132,7 +132,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -140,7 +140,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -148,7 +148,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -156,7 +156,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -164,7 +164,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAda /// To be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ppImmediateContext); @@ -172,7 +172,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -180,7 +180,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -188,7 +188,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -196,7 +196,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -204,7 +204,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -212,7 +212,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -220,7 +220,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -228,7 +228,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ppImmediateContext); @@ -236,7 +236,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -244,7 +244,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -252,7 +252,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -260,7 +260,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -268,7 +268,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -276,7 +276,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -284,7 +284,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14447, Column 16 in d3d11.h")] - public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDevice(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -292,7 +292,7 @@ public static unsafe int CreateDevice(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -300,7 +300,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -308,7 +308,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -316,7 +316,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -324,7 +324,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -332,7 +332,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -340,7 +340,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -348,7 +348,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -356,7 +356,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -364,7 +364,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -372,7 +372,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -380,7 +380,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -388,7 +388,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -396,7 +396,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -404,7 +404,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -412,7 +412,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -420,7 +420,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -428,7 +428,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -436,7 +436,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -444,7 +444,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -452,7 +452,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -460,7 +460,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -468,7 +468,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -476,7 +476,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -484,7 +484,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -492,7 +492,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -500,7 +500,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -508,7 +508,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -516,7 +516,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -524,7 +524,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -532,7 +532,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -540,7 +540,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -548,7 +548,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -556,7 +556,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -564,7 +564,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -572,7 +572,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -580,7 +580,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -588,7 +588,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -596,7 +596,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -604,7 +604,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -612,7 +612,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -620,7 +620,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -628,7 +628,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -636,7 +636,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -644,7 +644,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -652,7 +652,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -660,7 +660,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -668,7 +668,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -676,7 +676,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -684,7 +684,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -692,7 +692,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -700,7 +700,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -708,7 +708,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -716,7 +716,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -724,7 +724,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -732,7 +732,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.DXGI.IDXGIAdapter* pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(pAdapter, DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -740,7 +740,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Silk.NET.D /// To be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -748,7 +748,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -756,7 +756,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -764,7 +764,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -772,7 +772,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -780,7 +780,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -788,7 +788,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -796,7 +796,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -804,7 +804,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -812,7 +812,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -820,7 +820,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -828,7 +828,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -836,7 +836,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -844,7 +844,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -852,7 +852,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -860,7 +860,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -868,7 +868,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -876,7 +876,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -884,7 +884,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -892,7 +892,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -900,7 +900,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -908,7 +908,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -916,7 +916,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -924,7 +924,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -932,7 +932,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -940,7 +940,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -948,7 +948,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -956,7 +956,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -964,7 +964,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -972,7 +972,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -980,7 +980,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -988,7 +988,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, pFeatureLevels, FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -996,7 +996,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -1004,7 +1004,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1012,7 +1012,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1020,7 +1020,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1028,7 +1028,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -1036,7 +1036,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1044,7 +1044,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1052,7 +1052,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1060,7 +1060,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -1068,7 +1068,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1076,7 +1076,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1084,7 +1084,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1092,7 +1092,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -1100,7 +1100,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1108,7 +1108,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1116,7 +1116,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Silk.NET.DXGI.SwapChainDesc* pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, pSwapChainDesc, ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1124,7 +1124,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -1132,7 +1132,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1140,7 +1140,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1148,7 +1148,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1156,7 +1156,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -1164,7 +1164,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1172,7 +1172,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1180,7 +1180,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, Silk.NET.DXGI.IDXGISwapChain** ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1188,7 +1188,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ppImmediateContext); @@ -1196,7 +1196,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1204,7 +1204,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1212,7 +1212,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ID3D11Device** ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); @@ -1220,7 +1220,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ppImmediateContext); @@ -1228,7 +1228,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Silk.NET.Core.Native.D3DFeatureLevel* pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, pFeatureLevel, ref ppImmediateContext); @@ -1236,7 +1236,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ID3D11DeviceContext** ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ppImmediateContext); @@ -1244,7 +1244,7 @@ public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, SpanTo be documented. [NativeName("Src", "Line 14521, Column 16 in d3d11.h")] - public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, IntPtr Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) + public static unsafe int CreateDeviceAndSwapChain(this D3D11 thisApi, Span pAdapter, Silk.NET.Core.Native.D3DDriverType DriverType, nint Software, uint Flags, Span pFeatureLevels, uint FeatureLevels, uint SDKVersion, Span pSwapChainDesc, ref Silk.NET.DXGI.IDXGISwapChain* ppSwapChain, ref ID3D11Device* ppDevice, Span pFeatureLevel, ref ID3D11DeviceContext* ppImmediateContext) { // SpanOverloader return thisApi.CreateDeviceAndSwapChain(ref pAdapter.GetPinnableReference(), DriverType, Software, Flags, ref pFeatureLevels.GetPinnableReference(), FeatureLevels, SDKVersion, ref pSwapChainDesc.GetPinnableReference(), ref ppSwapChain, ref ppDevice, ref pFeatureLevel.GetPinnableReference(), ref ppImmediateContext); diff --git a/src/Microsoft/Silk.NET.Direct3D11/Enums/BusType.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Enums/BusType.gen.cs index 2e0ba344e7..0eb1078483 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Enums/BusType.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Enums/BusType.gen.cs @@ -35,6 +35,6 @@ public enum BusType : int [NativeName("Name", "D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE")] BusImplModifierDaughterBoardConnectorInsideOfNuae = 0x50000, [NativeName("Name", "D3D11_BUS_IMPL_MODIFIER_NON_STANDARD")] - BusImplModifierNonStandard = unchecked((int)0xFFFFFFFF80000000), + BusImplModifierNonStandard = unchecked((int) 0xFFFFFFFF80000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Enums/StandardMultisampleQualityLevels.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Enums/StandardMultisampleQualityLevels.gen.cs index 017da9ee0d..28058b92ca 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Enums/StandardMultisampleQualityLevels.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Enums/StandardMultisampleQualityLevels.gen.cs @@ -15,8 +15,8 @@ namespace Silk.NET.Direct3D11 public enum StandardMultisampleQualityLevels : int { [NativeName("Name", "D3D11_STANDARD_MULTISAMPLE_PATTERN")] - StandardMultisamplePattern = unchecked((int)0xFFFFFFFFFFFFFFFF), + StandardMultisamplePattern = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "D3D11_CENTER_MULTISAMPLE_PATTERN")] - CenterMultisamplePattern = unchecked((int)0xFFFFFFFFFFFFFFFE), + CenterMultisamplePattern = unchecked((int) 0xFFFFFFFFFFFFFFFE), } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Enums/VideoProcessorItelecineCaps.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Enums/VideoProcessorItelecineCaps.gen.cs index 4dd44d0b8e..95bd332e8b 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Enums/VideoProcessorItelecineCaps.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Enums/VideoProcessorItelecineCaps.gen.cs @@ -33,6 +33,6 @@ public enum VideoProcessorItelecineCaps : int [NativeName("Name", "D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223")] VideoProcessorItelecineCaps222222222223 = 0x100, [NativeName("Name", "D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER")] - VideoProcessorItelecineCapsOther = unchecked((int)0xFFFFFFFF80000000), + VideoProcessorItelecineCapsOther = unchecked((int) 0xFFFFFFFF80000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11AuthenticatedChannel.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11AuthenticatedChannel.gen.cs index b0a054ce04..a0f067fc15 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11AuthenticatedChannel.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11AuthenticatedChannel.gen.cs @@ -380,7 +380,7 @@ public readonly int GetCertificate(uint CertificateSize, string pCertificate) int ret = default; var pCertificatePtr = (byte*) Marshal.StringToHGlobalAnsi(pCertificate); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, CertificateSize, pCertificatePtr); - Marshal.FreeHGlobal((IntPtr)pCertificatePtr); + Marshal.FreeHGlobal((nint)pCertificatePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassInstance.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassInstance.gen.cs index b7a2ac371f..873c2514fc 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassInstance.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassInstance.gen.cs @@ -411,7 +411,7 @@ public readonly unsafe void GetInstanceName(string pInstanceName, uint* pBufferL var @this = (ID3D11ClassInstance*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pInstanceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pInstanceName); ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pInstanceNamePtr, pBufferLength); - Marshal.FreeHGlobal((IntPtr)pInstanceNamePtr); + Marshal.FreeHGlobal((nint)pInstanceNamePtr); } /// To be documented. @@ -423,7 +423,7 @@ public readonly void GetInstanceName(string pInstanceName, ref uint pBufferLengt { ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pInstanceNamePtr, pBufferLengthPtr); } - Marshal.FreeHGlobal((IntPtr)pInstanceNamePtr); + Marshal.FreeHGlobal((nint)pInstanceNamePtr); } /// To be documented. @@ -472,7 +472,7 @@ public readonly unsafe void GetTypeName(string pTypeName, uint* pBufferLength) var @this = (ID3D11ClassInstance*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pTypeNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTypeName); ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pTypeNamePtr, pBufferLength); - Marshal.FreeHGlobal((IntPtr)pTypeNamePtr); + Marshal.FreeHGlobal((nint)pTypeNamePtr); } /// To be documented. @@ -484,7 +484,7 @@ public readonly void GetTypeName(string pTypeName, ref uint pBufferLength) { ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pTypeNamePtr, pBufferLengthPtr); } - Marshal.FreeHGlobal((IntPtr)pTypeNamePtr); + Marshal.FreeHGlobal((nint)pTypeNamePtr); } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassLinkage.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassLinkage.gen.cs index 53abfc6ee8..28ee663400 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassLinkage.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ClassLinkage.gen.cs @@ -386,7 +386,7 @@ public readonly unsafe int GetClassInstance(string pClassInstanceName, uint Inst int ret = default; var pClassInstanceNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pClassInstanceName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pClassInstanceNamePtr, InstanceIndex, ppInstance); - Marshal.FreeHGlobal((IntPtr)pClassInstanceNamePtr); + Marshal.FreeHGlobal((nint)pClassInstanceNamePtr); return ret; } @@ -400,7 +400,7 @@ public readonly unsafe int GetClassInstance(string pClassInstanceName, uint Inst { ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pClassInstanceNamePtr, InstanceIndex, ppInstancePtr); } - Marshal.FreeHGlobal((IntPtr)pClassInstanceNamePtr); + Marshal.FreeHGlobal((nint)pClassInstanceNamePtr); return ret; } @@ -459,7 +459,7 @@ public readonly unsafe int CreateClassInstance(string pClassTypeName, uint Const int ret = default; var pClassTypeNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pClassTypeName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pClassTypeNamePtr, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance); - Marshal.FreeHGlobal((IntPtr)pClassTypeNamePtr); + Marshal.FreeHGlobal((nint)pClassTypeNamePtr); return ret; } @@ -473,7 +473,7 @@ public readonly unsafe int CreateClassInstance(string pClassTypeName, uint Const { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pClassTypeNamePtr, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstancePtr); } - Marshal.FreeHGlobal((IntPtr)pClassTypeNamePtr); + Marshal.FreeHGlobal((nint)pClassTypeNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11CryptoSession.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11CryptoSession.gen.cs index 04cec18018..9888a0860f 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11CryptoSession.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11CryptoSession.gen.cs @@ -414,7 +414,7 @@ public readonly int GetCertificate(uint CertificateSize, string pCertificate) int ret = default; var pCertificatePtr = (byte*) Marshal.StringToHGlobalAnsi(pCertificate); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, CertificateSize, pCertificatePtr); - Marshal.FreeHGlobal((IntPtr)pCertificatePtr); + Marshal.FreeHGlobal((nint)pCertificatePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device.gen.cs index 5fd751d76b..c2c57d6a3a 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device.gen.cs @@ -2855,7 +2855,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2869,7 +2869,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2942,7 +2942,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2959,7 +2959,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3033,7 +3033,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3050,7 +3050,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3138,7 +3138,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3158,7 +3158,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3171,7 +3171,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3185,7 +3185,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3199,7 +3199,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3216,7 +3216,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3228,8 +3228,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3244,8 +3244,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3259,7 +3259,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3276,7 +3276,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3293,7 +3293,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3313,7 +3313,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3327,9 +3327,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3346,9 +3346,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3421,7 +3421,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3438,7 +3438,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3526,7 +3526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3546,7 +3546,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3635,7 +3635,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3655,7 +3655,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3758,7 +3758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3781,7 +3781,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3797,7 +3797,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3814,7 +3814,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3831,7 +3831,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3851,7 +3851,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3866,8 +3866,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3885,8 +3885,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3903,7 +3903,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3923,7 +3923,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3943,7 +3943,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3966,7 +3966,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3983,9 +3983,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4005,9 +4005,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4081,7 +4081,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4098,7 +4098,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4186,7 +4186,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4206,7 +4206,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4295,7 +4295,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4315,7 +4315,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4418,7 +4418,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4441,7 +4441,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4457,7 +4457,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4474,7 +4474,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4491,7 +4491,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4511,7 +4511,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4526,8 +4526,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4545,8 +4545,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4563,7 +4563,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4583,7 +4583,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4603,7 +4603,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4626,7 +4626,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4643,9 +4643,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4665,9 +4665,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4755,7 +4755,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4775,7 +4775,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4878,7 +4878,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4901,7 +4901,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5005,7 +5005,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5028,7 +5028,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5146,7 +5146,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5172,7 +5172,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5191,7 +5191,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5211,7 +5211,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5231,7 +5231,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5254,7 +5254,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5272,8 +5272,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5294,8 +5294,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5315,7 +5315,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5338,7 +5338,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5361,7 +5361,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5387,7 +5387,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5407,9 +5407,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5432,9 +5432,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5447,7 +5447,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5461,7 +5461,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5475,7 +5475,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5492,7 +5492,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5504,8 +5504,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5520,8 +5520,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5535,7 +5535,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5552,7 +5552,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5569,7 +5569,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5589,7 +5589,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5603,9 +5603,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5622,9 +5622,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5638,7 +5638,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5655,7 +5655,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5672,7 +5672,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5692,7 +5692,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5706,9 +5706,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5725,9 +5725,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5744,7 +5744,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5764,7 +5764,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5784,7 +5784,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5807,7 +5807,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5823,10 +5823,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5845,10 +5845,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5860,8 +5860,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5876,8 +5876,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5892,8 +5892,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5911,8 +5911,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5925,9 +5925,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5943,9 +5943,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5960,8 +5960,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5979,8 +5979,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5998,8 +5998,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6020,8 +6020,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6036,10 +6036,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6057,10 +6057,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6074,7 +6074,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6091,7 +6091,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6108,7 +6108,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6128,7 +6128,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6142,9 +6142,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6161,9 +6161,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6180,7 +6180,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6200,7 +6200,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6220,7 +6220,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6243,7 +6243,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6259,10 +6259,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6281,10 +6281,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6301,7 +6301,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6321,7 +6321,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6341,7 +6341,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6364,7 +6364,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6380,10 +6380,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6402,10 +6402,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6425,7 +6425,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6448,7 +6448,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6471,7 +6471,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6497,7 +6497,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6515,11 +6515,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6540,11 +6540,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6558,9 +6558,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6577,9 +6577,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6596,9 +6596,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6618,9 +6618,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6635,10 +6635,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6656,10 +6656,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6676,9 +6676,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6698,9 +6698,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6720,9 +6720,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6745,9 +6745,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6764,11 +6764,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6788,11 +6788,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6865,7 +6865,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6882,7 +6882,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6970,7 +6970,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -6990,7 +6990,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7079,7 +7079,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7099,7 +7099,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7202,7 +7202,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7225,7 +7225,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7241,7 +7241,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7258,7 +7258,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7275,7 +7275,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7295,7 +7295,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7310,8 +7310,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7329,8 +7329,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7347,7 +7347,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7367,7 +7367,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7387,7 +7387,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7410,7 +7410,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7427,9 +7427,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7449,9 +7449,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7539,7 +7539,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7559,7 +7559,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7662,7 +7662,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7685,7 +7685,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7789,7 +7789,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7812,7 +7812,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7930,7 +7930,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7956,7 +7956,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7975,7 +7975,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -7995,7 +7995,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8015,7 +8015,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8038,7 +8038,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8056,8 +8056,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8078,8 +8078,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8099,7 +8099,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8122,7 +8122,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8145,7 +8145,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8171,7 +8171,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8191,9 +8191,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8216,9 +8216,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8307,7 +8307,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8327,7 +8327,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8430,7 +8430,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8453,7 +8453,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8557,7 +8557,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8580,7 +8580,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8698,7 +8698,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8724,7 +8724,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8743,7 +8743,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8763,7 +8763,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8783,7 +8783,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8806,7 +8806,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8824,8 +8824,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8846,8 +8846,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8867,7 +8867,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8890,7 +8890,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8913,7 +8913,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8939,7 +8939,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8959,9 +8959,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8984,9 +8984,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9089,7 +9089,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9112,7 +9112,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9230,7 +9230,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9256,7 +9256,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9375,7 +9375,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9401,7 +9401,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9534,7 +9534,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9563,7 +9563,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9585,7 +9585,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9608,7 +9608,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9631,7 +9631,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9657,7 +9657,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9678,8 +9678,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9703,8 +9703,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9727,7 +9727,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9753,7 +9753,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9779,7 +9779,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9808,7 +9808,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9831,9 +9831,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9859,9 +9859,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9877,7 +9877,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9894,7 +9894,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9911,7 +9911,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9931,7 +9931,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9946,8 +9946,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9965,8 +9965,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9983,7 +9983,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10003,7 +10003,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10023,7 +10023,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10046,7 +10046,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10063,9 +10063,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10085,9 +10085,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10104,7 +10104,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10124,7 +10124,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10144,7 +10144,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10167,7 +10167,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10184,9 +10184,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10206,9 +10206,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10228,7 +10228,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10251,7 +10251,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10274,7 +10274,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10300,7 +10300,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10319,10 +10319,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10344,10 +10344,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10362,8 +10362,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10381,8 +10381,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10400,8 +10400,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10422,8 +10422,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10439,9 +10439,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10460,9 +10460,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10480,8 +10480,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10502,8 +10502,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10524,8 +10524,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10549,8 +10549,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10568,10 +10568,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10592,10 +10592,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10612,7 +10612,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10632,7 +10632,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10652,7 +10652,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10675,7 +10675,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10692,9 +10692,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10714,9 +10714,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10736,7 +10736,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10759,7 +10759,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10782,7 +10782,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10808,7 +10808,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10827,10 +10827,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10852,10 +10852,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10875,7 +10875,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10898,7 +10898,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10921,7 +10921,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10947,7 +10947,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10966,10 +10966,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10991,10 +10991,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11017,7 +11017,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11043,7 +11043,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11069,7 +11069,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11098,7 +11098,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11119,11 +11119,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11147,11 +11147,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11168,9 +11168,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11190,9 +11190,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11212,9 +11212,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11237,9 +11237,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11257,10 +11257,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11281,10 +11281,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11304,9 +11304,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11329,9 +11329,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11354,9 +11354,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11382,9 +11382,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11404,11 +11404,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11431,11 +11431,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11509,7 +11509,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11526,7 +11526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11614,7 +11614,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11634,7 +11634,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11723,7 +11723,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11743,7 +11743,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11846,7 +11846,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11869,7 +11869,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11885,7 +11885,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11902,7 +11902,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11919,7 +11919,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11939,7 +11939,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11954,8 +11954,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11973,8 +11973,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11991,7 +11991,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12011,7 +12011,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12031,7 +12031,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12054,7 +12054,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12071,9 +12071,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12093,9 +12093,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12183,7 +12183,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12203,7 +12203,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12306,7 +12306,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12329,7 +12329,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12433,7 +12433,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12456,7 +12456,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12574,7 +12574,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12600,7 +12600,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12619,7 +12619,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12639,7 +12639,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12659,7 +12659,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12682,7 +12682,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12700,8 +12700,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12722,8 +12722,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12743,7 +12743,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12766,7 +12766,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12789,7 +12789,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12815,7 +12815,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12835,9 +12835,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12860,9 +12860,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12951,7 +12951,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12971,7 +12971,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13074,7 +13074,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13097,7 +13097,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13201,7 +13201,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13224,7 +13224,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13342,7 +13342,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13368,7 +13368,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13387,7 +13387,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13407,7 +13407,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13427,7 +13427,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13450,7 +13450,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13468,8 +13468,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13490,8 +13490,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13511,7 +13511,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13534,7 +13534,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13557,7 +13557,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13583,7 +13583,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13603,9 +13603,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13628,9 +13628,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13733,7 +13733,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13756,7 +13756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13874,7 +13874,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13900,7 +13900,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14019,7 +14019,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14045,7 +14045,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14178,7 +14178,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14207,7 +14207,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14229,7 +14229,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14252,7 +14252,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14275,7 +14275,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14301,7 +14301,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14322,8 +14322,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14347,8 +14347,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14371,7 +14371,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14397,7 +14397,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14423,7 +14423,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14452,7 +14452,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14475,9 +14475,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14503,9 +14503,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14521,7 +14521,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14538,7 +14538,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14555,7 +14555,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14575,7 +14575,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14590,8 +14590,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14609,8 +14609,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14627,7 +14627,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14647,7 +14647,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14667,7 +14667,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14690,7 +14690,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14707,9 +14707,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14729,9 +14729,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14748,7 +14748,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14768,7 +14768,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14788,7 +14788,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14811,7 +14811,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14828,9 +14828,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14850,9 +14850,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14872,7 +14872,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14895,7 +14895,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14918,7 +14918,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14944,7 +14944,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14963,10 +14963,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14988,10 +14988,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15006,8 +15006,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15025,8 +15025,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15044,8 +15044,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15066,8 +15066,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15083,9 +15083,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15104,9 +15104,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15124,8 +15124,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15146,8 +15146,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15168,8 +15168,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15193,8 +15193,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15212,10 +15212,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15236,10 +15236,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15256,7 +15256,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15276,7 +15276,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15296,7 +15296,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15319,7 +15319,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15336,9 +15336,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15358,9 +15358,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15380,7 +15380,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15403,7 +15403,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15426,7 +15426,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15452,7 +15452,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15471,10 +15471,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15496,10 +15496,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15519,7 +15519,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15542,7 +15542,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15565,7 +15565,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15591,7 +15591,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15610,10 +15610,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15635,10 +15635,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15661,7 +15661,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15687,7 +15687,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15713,7 +15713,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15742,7 +15742,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15763,11 +15763,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15791,11 +15791,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15812,9 +15812,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15834,9 +15834,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15856,9 +15856,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15881,9 +15881,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15901,10 +15901,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15925,10 +15925,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15948,9 +15948,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15973,9 +15973,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15998,9 +15998,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16026,9 +16026,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16048,11 +16048,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16075,11 +16075,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16167,7 +16167,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16187,7 +16187,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16290,7 +16290,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16313,7 +16313,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16417,7 +16417,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16440,7 +16440,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16558,7 +16558,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16584,7 +16584,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16603,7 +16603,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16623,7 +16623,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16643,7 +16643,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16666,7 +16666,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16684,8 +16684,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16706,8 +16706,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16727,7 +16727,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16750,7 +16750,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16773,7 +16773,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16799,7 +16799,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16819,9 +16819,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16844,9 +16844,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16949,7 +16949,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16972,7 +16972,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17090,7 +17090,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17116,7 +17116,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17235,7 +17235,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17261,7 +17261,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17394,7 +17394,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17423,7 +17423,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17445,7 +17445,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17468,7 +17468,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17491,7 +17491,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17517,7 +17517,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17538,8 +17538,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17563,8 +17563,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17587,7 +17587,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17613,7 +17613,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17639,7 +17639,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17668,7 +17668,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17691,9 +17691,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17719,9 +17719,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17825,7 +17825,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17848,7 +17848,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17966,7 +17966,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17992,7 +17992,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18111,7 +18111,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18137,7 +18137,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18270,7 +18270,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18299,7 +18299,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18321,7 +18321,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18344,7 +18344,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18367,7 +18367,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18393,7 +18393,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18414,8 +18414,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18439,8 +18439,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18463,7 +18463,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18489,7 +18489,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18515,7 +18515,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18544,7 +18544,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18567,9 +18567,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18595,9 +18595,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18715,7 +18715,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18741,7 +18741,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18874,7 +18874,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18903,7 +18903,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19037,7 +19037,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19066,7 +19066,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19214,7 +19214,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19246,7 +19246,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19271,7 +19271,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19297,7 +19297,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19323,7 +19323,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19352,7 +19352,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19376,8 +19376,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19404,8 +19404,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19431,7 +19431,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19460,7 +19460,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19489,7 +19489,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19521,7 +19521,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19547,9 +19547,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19578,9 +19578,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19599,7 +19599,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19619,7 +19619,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19639,7 +19639,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19662,7 +19662,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19680,8 +19680,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19702,8 +19702,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19723,7 +19723,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19746,7 +19746,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19769,7 +19769,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19795,7 +19795,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19815,9 +19815,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19840,9 +19840,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19862,7 +19862,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19885,7 +19885,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19908,7 +19908,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19934,7 +19934,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19954,9 +19954,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19979,9 +19979,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20004,7 +20004,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20030,7 +20030,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20056,7 +20056,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20085,7 +20085,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20107,10 +20107,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20135,10 +20135,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20156,8 +20156,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20178,8 +20178,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20200,8 +20200,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20225,8 +20225,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20245,9 +20245,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20269,9 +20269,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20292,8 +20292,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20317,8 +20317,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20342,8 +20342,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20370,8 +20370,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20392,10 +20392,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20419,10 +20419,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20442,7 +20442,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20465,7 +20465,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20488,7 +20488,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20514,7 +20514,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20534,9 +20534,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20559,9 +20559,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20584,7 +20584,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20610,7 +20610,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20636,7 +20636,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20665,7 +20665,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20687,10 +20687,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20715,10 +20715,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20741,7 +20741,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20767,7 +20767,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20793,7 +20793,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20822,7 +20822,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20844,10 +20844,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20872,10 +20872,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20901,7 +20901,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20930,7 +20930,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20959,7 +20959,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20991,7 +20991,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21015,11 +21015,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21046,11 +21046,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21070,9 +21070,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21095,9 +21095,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21120,9 +21120,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21148,9 +21148,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21171,10 +21171,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21198,10 +21198,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21224,9 +21224,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21252,9 +21252,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21280,9 +21280,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21311,9 +21311,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21336,11 +21336,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21366,11 +21366,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21445,7 +21445,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21462,7 +21462,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21550,7 +21550,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21570,7 +21570,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21659,7 +21659,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21679,7 +21679,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21782,7 +21782,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21805,7 +21805,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21821,7 +21821,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21838,7 +21838,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21855,7 +21855,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21875,7 +21875,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21890,8 +21890,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21909,8 +21909,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21927,7 +21927,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21947,7 +21947,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21967,7 +21967,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21990,7 +21990,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22007,9 +22007,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22029,9 +22029,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22119,7 +22119,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22139,7 +22139,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22242,7 +22242,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22265,7 +22265,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22369,7 +22369,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22392,7 +22392,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22510,7 +22510,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22536,7 +22536,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22555,7 +22555,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22575,7 +22575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22595,7 +22595,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22618,7 +22618,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22636,8 +22636,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22658,8 +22658,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22679,7 +22679,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22702,7 +22702,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22725,7 +22725,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22751,7 +22751,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22771,9 +22771,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22796,9 +22796,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22887,7 +22887,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22907,7 +22907,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23010,7 +23010,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23033,7 +23033,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23137,7 +23137,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23160,7 +23160,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23278,7 +23278,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23304,7 +23304,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23323,7 +23323,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23343,7 +23343,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23363,7 +23363,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23386,7 +23386,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23404,8 +23404,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23426,8 +23426,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23447,7 +23447,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23470,7 +23470,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23493,7 +23493,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23519,7 +23519,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23539,9 +23539,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23564,9 +23564,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23669,7 +23669,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23692,7 +23692,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23810,7 +23810,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23836,7 +23836,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23955,7 +23955,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23981,7 +23981,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24114,7 +24114,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24143,7 +24143,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24165,7 +24165,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24188,7 +24188,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24211,7 +24211,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24237,7 +24237,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24258,8 +24258,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24283,8 +24283,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24307,7 +24307,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24333,7 +24333,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24359,7 +24359,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24388,7 +24388,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24411,9 +24411,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24439,9 +24439,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24457,7 +24457,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24474,7 +24474,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24491,7 +24491,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24511,7 +24511,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24526,8 +24526,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24545,8 +24545,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24563,7 +24563,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24583,7 +24583,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24603,7 +24603,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24626,7 +24626,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24643,9 +24643,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24665,9 +24665,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24684,7 +24684,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24704,7 +24704,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24724,7 +24724,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24747,7 +24747,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24764,9 +24764,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24786,9 +24786,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24808,7 +24808,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24831,7 +24831,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24854,7 +24854,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24880,7 +24880,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24899,10 +24899,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24924,10 +24924,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24942,8 +24942,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24961,8 +24961,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24980,8 +24980,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25002,8 +25002,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25019,9 +25019,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25040,9 +25040,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25060,8 +25060,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25082,8 +25082,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25104,8 +25104,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25129,8 +25129,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25148,10 +25148,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25172,10 +25172,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25192,7 +25192,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25212,7 +25212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25232,7 +25232,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25255,7 +25255,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25272,9 +25272,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25294,9 +25294,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25316,7 +25316,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25339,7 +25339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25362,7 +25362,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25388,7 +25388,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25407,10 +25407,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25432,10 +25432,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25455,7 +25455,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25478,7 +25478,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25501,7 +25501,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25527,7 +25527,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25546,10 +25546,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25571,10 +25571,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25597,7 +25597,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25623,7 +25623,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25649,7 +25649,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25678,7 +25678,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25699,11 +25699,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25727,11 +25727,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25748,9 +25748,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25770,9 +25770,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25792,9 +25792,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25817,9 +25817,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25837,10 +25837,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25861,10 +25861,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25884,9 +25884,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25909,9 +25909,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25934,9 +25934,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25962,9 +25962,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25984,11 +25984,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26011,11 +26011,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26103,7 +26103,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26123,7 +26123,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26226,7 +26226,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26249,7 +26249,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26353,7 +26353,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26376,7 +26376,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26494,7 +26494,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26520,7 +26520,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26539,7 +26539,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26559,7 +26559,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26579,7 +26579,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26602,7 +26602,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26620,8 +26620,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26642,8 +26642,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26663,7 +26663,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26686,7 +26686,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26709,7 +26709,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26735,7 +26735,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26755,9 +26755,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26780,9 +26780,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26885,7 +26885,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26908,7 +26908,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27026,7 +27026,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27052,7 +27052,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27171,7 +27171,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27197,7 +27197,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27330,7 +27330,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27359,7 +27359,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27381,7 +27381,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27404,7 +27404,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27427,7 +27427,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27453,7 +27453,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27474,8 +27474,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27499,8 +27499,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27523,7 +27523,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27549,7 +27549,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27575,7 +27575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27604,7 +27604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27627,9 +27627,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27655,9 +27655,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27761,7 +27761,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27784,7 +27784,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27902,7 +27902,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27928,7 +27928,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28047,7 +28047,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28073,7 +28073,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28206,7 +28206,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28235,7 +28235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28257,7 +28257,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28280,7 +28280,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28303,7 +28303,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28329,7 +28329,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28350,8 +28350,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28375,8 +28375,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28399,7 +28399,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28425,7 +28425,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28451,7 +28451,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28480,7 +28480,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28503,9 +28503,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28531,9 +28531,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28651,7 +28651,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28677,7 +28677,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28810,7 +28810,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28839,7 +28839,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28973,7 +28973,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29002,7 +29002,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29150,7 +29150,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29182,7 +29182,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29207,7 +29207,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29233,7 +29233,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29259,7 +29259,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29288,7 +29288,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29312,8 +29312,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29340,8 +29340,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29367,7 +29367,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29396,7 +29396,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29425,7 +29425,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29457,7 +29457,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29483,9 +29483,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29514,9 +29514,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29535,7 +29535,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29555,7 +29555,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29575,7 +29575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29598,7 +29598,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29616,8 +29616,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29638,8 +29638,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29659,7 +29659,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29682,7 +29682,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29705,7 +29705,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29731,7 +29731,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29751,9 +29751,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29776,9 +29776,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29798,7 +29798,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29821,7 +29821,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29844,7 +29844,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29870,7 +29870,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29890,9 +29890,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29915,9 +29915,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29940,7 +29940,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29966,7 +29966,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29992,7 +29992,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30021,7 +30021,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30043,10 +30043,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30071,10 +30071,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30092,8 +30092,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30114,8 +30114,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30136,8 +30136,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30161,8 +30161,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30181,9 +30181,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30205,9 +30205,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30228,8 +30228,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30253,8 +30253,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30278,8 +30278,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30306,8 +30306,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30328,10 +30328,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30355,10 +30355,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30378,7 +30378,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30401,7 +30401,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30424,7 +30424,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30450,7 +30450,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30470,9 +30470,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30495,9 +30495,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30520,7 +30520,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30546,7 +30546,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30572,7 +30572,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30601,7 +30601,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30623,10 +30623,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30651,10 +30651,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30677,7 +30677,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30703,7 +30703,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30729,7 +30729,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30758,7 +30758,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30780,10 +30780,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30808,10 +30808,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30837,7 +30837,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30866,7 +30866,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30895,7 +30895,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30927,7 +30927,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30951,11 +30951,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30982,11 +30982,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31006,9 +31006,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31031,9 +31031,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31056,9 +31056,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31084,9 +31084,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31107,10 +31107,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31134,10 +31134,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31160,9 +31160,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31188,9 +31188,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31216,9 +31216,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31247,9 +31247,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31272,11 +31272,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31302,11 +31302,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31395,7 +31395,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31415,7 +31415,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31518,7 +31518,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31541,7 +31541,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31645,7 +31645,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31668,7 +31668,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31786,7 +31786,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31812,7 +31812,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31831,7 +31831,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31851,7 +31851,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31871,7 +31871,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31894,7 +31894,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31912,8 +31912,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31934,8 +31934,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31955,7 +31955,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31978,7 +31978,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32001,7 +32001,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32027,7 +32027,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32047,9 +32047,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32072,9 +32072,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32177,7 +32177,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32200,7 +32200,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32318,7 +32318,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32344,7 +32344,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32463,7 +32463,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32489,7 +32489,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32622,7 +32622,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32651,7 +32651,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32673,7 +32673,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32696,7 +32696,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32719,7 +32719,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32745,7 +32745,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32766,8 +32766,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32791,8 +32791,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32815,7 +32815,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32841,7 +32841,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32867,7 +32867,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32896,7 +32896,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32919,9 +32919,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32947,9 +32947,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33053,7 +33053,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33076,7 +33076,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33194,7 +33194,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33220,7 +33220,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33339,7 +33339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33365,7 +33365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33498,7 +33498,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33527,7 +33527,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33549,7 +33549,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33572,7 +33572,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33595,7 +33595,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33621,7 +33621,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33642,8 +33642,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33667,8 +33667,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33691,7 +33691,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33717,7 +33717,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33743,7 +33743,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33772,7 +33772,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33795,9 +33795,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33823,9 +33823,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33943,7 +33943,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33969,7 +33969,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34102,7 +34102,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34131,7 +34131,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34265,7 +34265,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34294,7 +34294,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34442,7 +34442,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34474,7 +34474,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34499,7 +34499,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34525,7 +34525,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34551,7 +34551,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34580,7 +34580,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34604,8 +34604,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34632,8 +34632,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34659,7 +34659,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34688,7 +34688,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34717,7 +34717,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34749,7 +34749,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34775,9 +34775,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34806,9 +34806,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34827,7 +34827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34847,7 +34847,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34867,7 +34867,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34890,7 +34890,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34908,8 +34908,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34930,8 +34930,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34951,7 +34951,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34974,7 +34974,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34997,7 +34997,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35023,7 +35023,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35043,9 +35043,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35068,9 +35068,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35090,7 +35090,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35113,7 +35113,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35136,7 +35136,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35162,7 +35162,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35182,9 +35182,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35207,9 +35207,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35232,7 +35232,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35258,7 +35258,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35284,7 +35284,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35313,7 +35313,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35335,10 +35335,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35363,10 +35363,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35384,8 +35384,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35406,8 +35406,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35428,8 +35428,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35453,8 +35453,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35473,9 +35473,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35497,9 +35497,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35520,8 +35520,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35545,8 +35545,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35570,8 +35570,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35598,8 +35598,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35620,10 +35620,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35647,10 +35647,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35670,7 +35670,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35693,7 +35693,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35716,7 +35716,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35742,7 +35742,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35762,9 +35762,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35787,9 +35787,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35812,7 +35812,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35838,7 +35838,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35864,7 +35864,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35893,7 +35893,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35915,10 +35915,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35943,10 +35943,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35969,7 +35969,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35995,7 +35995,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36021,7 +36021,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36050,7 +36050,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36072,10 +36072,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36100,10 +36100,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36129,7 +36129,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36158,7 +36158,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36187,7 +36187,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36219,7 +36219,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36243,11 +36243,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36274,11 +36274,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36298,9 +36298,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36323,9 +36323,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36348,9 +36348,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36376,9 +36376,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36399,10 +36399,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36426,10 +36426,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36452,9 +36452,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36480,9 +36480,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36508,9 +36508,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36539,9 +36539,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36564,11 +36564,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36594,11 +36594,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36701,7 +36701,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36724,7 +36724,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36842,7 +36842,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36868,7 +36868,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36987,7 +36987,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37013,7 +37013,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37146,7 +37146,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37175,7 +37175,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37197,7 +37197,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37220,7 +37220,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37243,7 +37243,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37269,7 +37269,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37290,8 +37290,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37315,8 +37315,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37339,7 +37339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37365,7 +37365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37391,7 +37391,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37420,7 +37420,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37443,9 +37443,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37471,9 +37471,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37591,7 +37591,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37617,7 +37617,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37750,7 +37750,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37779,7 +37779,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37913,7 +37913,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37942,7 +37942,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38090,7 +38090,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38122,7 +38122,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38147,7 +38147,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38173,7 +38173,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38199,7 +38199,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38228,7 +38228,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38252,8 +38252,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38280,8 +38280,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38307,7 +38307,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38336,7 +38336,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38365,7 +38365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38397,7 +38397,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38423,9 +38423,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38454,9 +38454,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38575,7 +38575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38601,7 +38601,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38734,7 +38734,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38763,7 +38763,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38897,7 +38897,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38926,7 +38926,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39074,7 +39074,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39106,7 +39106,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39131,7 +39131,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39157,7 +39157,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39183,7 +39183,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39212,7 +39212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39236,8 +39236,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39264,8 +39264,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39291,7 +39291,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39320,7 +39320,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39349,7 +39349,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39381,7 +39381,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39407,9 +39407,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39438,9 +39438,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39573,7 +39573,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39602,7 +39602,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39750,7 +39750,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39782,7 +39782,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39931,7 +39931,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39963,7 +39963,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40126,7 +40126,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40161,7 +40161,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40189,7 +40189,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40218,7 +40218,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40247,7 +40247,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40279,7 +40279,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40306,8 +40306,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40337,8 +40337,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40367,7 +40367,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40399,7 +40399,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40431,7 +40431,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40466,7 +40466,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40495,9 +40495,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40529,9 +40529,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40553,7 +40553,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40576,7 +40576,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40599,7 +40599,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40625,7 +40625,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40646,8 +40646,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40671,8 +40671,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40695,7 +40695,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40721,7 +40721,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40747,7 +40747,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40776,7 +40776,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40799,9 +40799,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40827,9 +40827,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40852,7 +40852,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40878,7 +40878,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40904,7 +40904,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40933,7 +40933,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40956,9 +40956,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40984,9 +40984,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41012,7 +41012,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41041,7 +41041,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41070,7 +41070,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41102,7 +41102,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41127,10 +41127,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41158,10 +41158,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41182,8 +41182,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41207,8 +41207,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41232,8 +41232,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41260,8 +41260,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41283,9 +41283,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41310,9 +41310,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41336,8 +41336,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41364,8 +41364,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41392,8 +41392,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41423,8 +41423,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41448,10 +41448,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41478,10 +41478,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41504,7 +41504,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41530,7 +41530,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41556,7 +41556,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41585,7 +41585,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41608,9 +41608,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41636,9 +41636,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41664,7 +41664,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41693,7 +41693,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41722,7 +41722,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41754,7 +41754,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41779,10 +41779,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41810,10 +41810,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41839,7 +41839,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41868,7 +41868,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41897,7 +41897,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41929,7 +41929,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41954,10 +41954,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41985,10 +41985,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42017,7 +42017,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42049,7 +42049,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42081,7 +42081,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42116,7 +42116,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42143,11 +42143,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42177,11 +42177,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42204,9 +42204,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42232,9 +42232,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42260,9 +42260,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42291,9 +42291,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42317,10 +42317,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42347,10 +42347,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42376,9 +42376,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42407,9 +42407,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42438,9 +42438,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42472,9 +42472,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42500,11 +42500,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42533,11 +42533,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device1.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device1.gen.cs index 72865ed7b9..60d5e2ccde 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device1.gen.cs @@ -2858,7 +2858,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2872,7 +2872,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2945,7 +2945,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2962,7 +2962,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3036,7 +3036,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3053,7 +3053,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3141,7 +3141,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3161,7 +3161,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3174,7 +3174,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3188,7 +3188,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3202,7 +3202,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3219,7 +3219,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3231,8 +3231,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3247,8 +3247,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3262,7 +3262,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3279,7 +3279,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3296,7 +3296,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3316,7 +3316,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3330,9 +3330,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3349,9 +3349,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3424,7 +3424,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3441,7 +3441,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3529,7 +3529,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3549,7 +3549,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3638,7 +3638,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3658,7 +3658,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3761,7 +3761,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3784,7 +3784,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3800,7 +3800,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3817,7 +3817,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3834,7 +3834,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3854,7 +3854,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3869,8 +3869,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3888,8 +3888,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3906,7 +3906,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3926,7 +3926,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3946,7 +3946,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3969,7 +3969,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3986,9 +3986,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4008,9 +4008,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4084,7 +4084,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4101,7 +4101,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4189,7 +4189,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4209,7 +4209,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4298,7 +4298,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4318,7 +4318,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4421,7 +4421,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4444,7 +4444,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4460,7 +4460,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4477,7 +4477,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4494,7 +4494,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4514,7 +4514,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4529,8 +4529,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4548,8 +4548,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4566,7 +4566,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4586,7 +4586,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4606,7 +4606,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4629,7 +4629,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4646,9 +4646,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4668,9 +4668,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4758,7 +4758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4778,7 +4778,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4881,7 +4881,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4904,7 +4904,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5008,7 +5008,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5031,7 +5031,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5149,7 +5149,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5175,7 +5175,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5194,7 +5194,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5214,7 +5214,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5234,7 +5234,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5257,7 +5257,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5275,8 +5275,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5297,8 +5297,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5318,7 +5318,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5341,7 +5341,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5364,7 +5364,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5390,7 +5390,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5410,9 +5410,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5435,9 +5435,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5450,7 +5450,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5464,7 +5464,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5478,7 +5478,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5495,7 +5495,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5507,8 +5507,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5523,8 +5523,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5538,7 +5538,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5555,7 +5555,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5572,7 +5572,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5592,7 +5592,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5606,9 +5606,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5625,9 +5625,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5641,7 +5641,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5658,7 +5658,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5675,7 +5675,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5695,7 +5695,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5709,9 +5709,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5728,9 +5728,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5747,7 +5747,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5767,7 +5767,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5787,7 +5787,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5810,7 +5810,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5826,10 +5826,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5848,10 +5848,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5863,8 +5863,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5879,8 +5879,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5895,8 +5895,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5914,8 +5914,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5928,9 +5928,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5946,9 +5946,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5963,8 +5963,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5982,8 +5982,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6001,8 +6001,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6023,8 +6023,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6039,10 +6039,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6060,10 +6060,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6077,7 +6077,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6094,7 +6094,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6111,7 +6111,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6131,7 +6131,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6145,9 +6145,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6164,9 +6164,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6183,7 +6183,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6203,7 +6203,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6223,7 +6223,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6246,7 +6246,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6262,10 +6262,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6284,10 +6284,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6304,7 +6304,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6324,7 +6324,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6344,7 +6344,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6367,7 +6367,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6383,10 +6383,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6405,10 +6405,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6428,7 +6428,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6451,7 +6451,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6474,7 +6474,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6500,7 +6500,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6518,11 +6518,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6543,11 +6543,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6561,9 +6561,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6580,9 +6580,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6599,9 +6599,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6621,9 +6621,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6638,10 +6638,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6659,10 +6659,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6679,9 +6679,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6701,9 +6701,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6723,9 +6723,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6748,9 +6748,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6767,11 +6767,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6791,11 +6791,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6868,7 +6868,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6885,7 +6885,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6973,7 +6973,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -6993,7 +6993,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7082,7 +7082,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7102,7 +7102,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7205,7 +7205,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7228,7 +7228,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7244,7 +7244,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7261,7 +7261,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7278,7 +7278,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7298,7 +7298,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7313,8 +7313,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7332,8 +7332,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7350,7 +7350,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7370,7 +7370,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7390,7 +7390,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7413,7 +7413,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7430,9 +7430,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7452,9 +7452,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7542,7 +7542,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7562,7 +7562,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7665,7 +7665,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7688,7 +7688,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7792,7 +7792,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7815,7 +7815,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7933,7 +7933,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7959,7 +7959,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7978,7 +7978,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -7998,7 +7998,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8018,7 +8018,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8041,7 +8041,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8059,8 +8059,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8081,8 +8081,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8102,7 +8102,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8125,7 +8125,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8148,7 +8148,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8174,7 +8174,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8194,9 +8194,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8219,9 +8219,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8310,7 +8310,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8330,7 +8330,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8433,7 +8433,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8456,7 +8456,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8560,7 +8560,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8583,7 +8583,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8701,7 +8701,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8727,7 +8727,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8746,7 +8746,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8766,7 +8766,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8786,7 +8786,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8809,7 +8809,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8827,8 +8827,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8849,8 +8849,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8870,7 +8870,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8893,7 +8893,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8916,7 +8916,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8942,7 +8942,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8962,9 +8962,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8987,9 +8987,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9092,7 +9092,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9115,7 +9115,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9233,7 +9233,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9259,7 +9259,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9378,7 +9378,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9404,7 +9404,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9537,7 +9537,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9566,7 +9566,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9588,7 +9588,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9611,7 +9611,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9634,7 +9634,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9660,7 +9660,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9681,8 +9681,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9706,8 +9706,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9730,7 +9730,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9756,7 +9756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9782,7 +9782,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9811,7 +9811,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9834,9 +9834,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9862,9 +9862,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9880,7 +9880,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9897,7 +9897,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9914,7 +9914,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9934,7 +9934,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9949,8 +9949,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9968,8 +9968,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9986,7 +9986,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10006,7 +10006,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10026,7 +10026,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10049,7 +10049,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10066,9 +10066,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10088,9 +10088,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10107,7 +10107,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10127,7 +10127,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10147,7 +10147,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10170,7 +10170,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10187,9 +10187,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10209,9 +10209,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10231,7 +10231,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10254,7 +10254,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10277,7 +10277,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10303,7 +10303,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10322,10 +10322,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10347,10 +10347,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10365,8 +10365,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10384,8 +10384,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10403,8 +10403,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10425,8 +10425,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10442,9 +10442,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10463,9 +10463,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10483,8 +10483,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10505,8 +10505,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10527,8 +10527,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10552,8 +10552,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10571,10 +10571,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10595,10 +10595,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10615,7 +10615,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10635,7 +10635,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10655,7 +10655,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10678,7 +10678,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10695,9 +10695,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10717,9 +10717,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10739,7 +10739,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10762,7 +10762,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10785,7 +10785,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10811,7 +10811,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10830,10 +10830,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10855,10 +10855,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10878,7 +10878,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10901,7 +10901,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10924,7 +10924,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10950,7 +10950,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10969,10 +10969,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10994,10 +10994,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11020,7 +11020,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11046,7 +11046,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11072,7 +11072,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11101,7 +11101,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11122,11 +11122,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11150,11 +11150,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11171,9 +11171,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11193,9 +11193,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11215,9 +11215,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11240,9 +11240,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11260,10 +11260,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11284,10 +11284,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11307,9 +11307,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11332,9 +11332,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11357,9 +11357,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11385,9 +11385,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11407,11 +11407,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11434,11 +11434,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11512,7 +11512,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11529,7 +11529,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11617,7 +11617,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11637,7 +11637,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11726,7 +11726,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11746,7 +11746,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11849,7 +11849,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11872,7 +11872,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11888,7 +11888,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11905,7 +11905,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11922,7 +11922,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11942,7 +11942,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11957,8 +11957,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11976,8 +11976,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11994,7 +11994,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12014,7 +12014,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12034,7 +12034,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12057,7 +12057,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12074,9 +12074,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12096,9 +12096,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12186,7 +12186,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12206,7 +12206,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12309,7 +12309,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12332,7 +12332,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12436,7 +12436,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12459,7 +12459,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12577,7 +12577,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12603,7 +12603,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12622,7 +12622,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12642,7 +12642,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12662,7 +12662,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12685,7 +12685,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12703,8 +12703,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12725,8 +12725,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12746,7 +12746,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12769,7 +12769,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12792,7 +12792,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12818,7 +12818,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12838,9 +12838,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12863,9 +12863,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12954,7 +12954,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12974,7 +12974,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13077,7 +13077,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13100,7 +13100,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13204,7 +13204,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13227,7 +13227,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13345,7 +13345,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13371,7 +13371,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13390,7 +13390,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13410,7 +13410,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13430,7 +13430,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13453,7 +13453,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13471,8 +13471,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13493,8 +13493,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13514,7 +13514,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13537,7 +13537,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13560,7 +13560,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13586,7 +13586,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13606,9 +13606,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13631,9 +13631,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13736,7 +13736,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13759,7 +13759,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13877,7 +13877,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13903,7 +13903,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14022,7 +14022,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14048,7 +14048,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14181,7 +14181,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14210,7 +14210,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14232,7 +14232,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14255,7 +14255,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14278,7 +14278,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14304,7 +14304,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14325,8 +14325,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14350,8 +14350,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14374,7 +14374,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14400,7 +14400,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14426,7 +14426,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14455,7 +14455,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14478,9 +14478,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14506,9 +14506,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14524,7 +14524,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14541,7 +14541,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14558,7 +14558,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14578,7 +14578,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14593,8 +14593,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14612,8 +14612,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14630,7 +14630,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14650,7 +14650,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14670,7 +14670,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14693,7 +14693,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14710,9 +14710,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14732,9 +14732,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14751,7 +14751,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14771,7 +14771,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14791,7 +14791,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14814,7 +14814,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14831,9 +14831,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14853,9 +14853,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14875,7 +14875,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14898,7 +14898,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14921,7 +14921,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14947,7 +14947,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14966,10 +14966,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14991,10 +14991,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15009,8 +15009,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15028,8 +15028,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15047,8 +15047,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15069,8 +15069,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15086,9 +15086,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15107,9 +15107,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15127,8 +15127,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15149,8 +15149,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15171,8 +15171,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15196,8 +15196,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15215,10 +15215,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15239,10 +15239,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15259,7 +15259,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15279,7 +15279,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15299,7 +15299,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15322,7 +15322,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15339,9 +15339,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15361,9 +15361,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15383,7 +15383,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15406,7 +15406,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15429,7 +15429,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15455,7 +15455,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15474,10 +15474,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15499,10 +15499,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15522,7 +15522,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15545,7 +15545,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15568,7 +15568,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15594,7 +15594,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15613,10 +15613,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15638,10 +15638,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15664,7 +15664,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15690,7 +15690,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15716,7 +15716,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15745,7 +15745,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15766,11 +15766,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15794,11 +15794,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15815,9 +15815,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15837,9 +15837,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15859,9 +15859,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15884,9 +15884,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15904,10 +15904,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15928,10 +15928,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15951,9 +15951,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15976,9 +15976,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16001,9 +16001,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16029,9 +16029,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16051,11 +16051,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16078,11 +16078,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16170,7 +16170,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16190,7 +16190,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16293,7 +16293,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16316,7 +16316,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16420,7 +16420,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16443,7 +16443,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16561,7 +16561,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16587,7 +16587,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16606,7 +16606,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16626,7 +16626,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16646,7 +16646,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16669,7 +16669,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16687,8 +16687,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16709,8 +16709,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16730,7 +16730,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16753,7 +16753,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16776,7 +16776,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16802,7 +16802,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16822,9 +16822,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16847,9 +16847,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16952,7 +16952,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16975,7 +16975,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17093,7 +17093,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17119,7 +17119,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17238,7 +17238,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17264,7 +17264,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17397,7 +17397,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17426,7 +17426,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17448,7 +17448,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17471,7 +17471,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17494,7 +17494,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17520,7 +17520,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17541,8 +17541,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17566,8 +17566,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17590,7 +17590,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17616,7 +17616,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17642,7 +17642,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17671,7 +17671,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17694,9 +17694,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17722,9 +17722,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17828,7 +17828,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17851,7 +17851,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17969,7 +17969,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17995,7 +17995,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18114,7 +18114,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18140,7 +18140,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18273,7 +18273,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18302,7 +18302,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18324,7 +18324,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18347,7 +18347,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18370,7 +18370,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18396,7 +18396,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18417,8 +18417,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18442,8 +18442,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18466,7 +18466,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18492,7 +18492,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18518,7 +18518,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18547,7 +18547,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18570,9 +18570,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18598,9 +18598,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18718,7 +18718,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18744,7 +18744,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18877,7 +18877,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18906,7 +18906,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19040,7 +19040,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19069,7 +19069,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19217,7 +19217,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19249,7 +19249,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19274,7 +19274,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19300,7 +19300,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19326,7 +19326,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19355,7 +19355,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19379,8 +19379,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19407,8 +19407,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19434,7 +19434,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19463,7 +19463,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19492,7 +19492,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19524,7 +19524,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19550,9 +19550,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19581,9 +19581,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19602,7 +19602,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19622,7 +19622,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19642,7 +19642,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19665,7 +19665,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19683,8 +19683,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19705,8 +19705,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19726,7 +19726,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19749,7 +19749,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19772,7 +19772,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19798,7 +19798,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19818,9 +19818,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19843,9 +19843,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19865,7 +19865,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19888,7 +19888,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19911,7 +19911,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19937,7 +19937,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19957,9 +19957,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19982,9 +19982,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20007,7 +20007,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20033,7 +20033,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20059,7 +20059,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20088,7 +20088,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20110,10 +20110,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20138,10 +20138,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20159,8 +20159,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20181,8 +20181,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20203,8 +20203,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20228,8 +20228,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20248,9 +20248,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20272,9 +20272,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20295,8 +20295,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20320,8 +20320,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20345,8 +20345,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20373,8 +20373,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20395,10 +20395,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20422,10 +20422,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20445,7 +20445,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20468,7 +20468,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20491,7 +20491,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20517,7 +20517,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20537,9 +20537,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20562,9 +20562,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20587,7 +20587,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20613,7 +20613,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20639,7 +20639,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20668,7 +20668,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20690,10 +20690,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20718,10 +20718,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20744,7 +20744,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20770,7 +20770,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20796,7 +20796,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20825,7 +20825,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20847,10 +20847,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20875,10 +20875,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20904,7 +20904,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20933,7 +20933,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20962,7 +20962,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20994,7 +20994,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21018,11 +21018,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21049,11 +21049,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21073,9 +21073,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21098,9 +21098,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21123,9 +21123,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21151,9 +21151,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21174,10 +21174,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21201,10 +21201,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21227,9 +21227,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21255,9 +21255,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21283,9 +21283,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21314,9 +21314,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21339,11 +21339,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21369,11 +21369,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21448,7 +21448,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21465,7 +21465,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21553,7 +21553,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21573,7 +21573,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21662,7 +21662,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21682,7 +21682,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21785,7 +21785,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21808,7 +21808,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21824,7 +21824,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21841,7 +21841,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21858,7 +21858,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21878,7 +21878,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21893,8 +21893,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21912,8 +21912,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21930,7 +21930,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21950,7 +21950,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21970,7 +21970,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21993,7 +21993,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22010,9 +22010,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22032,9 +22032,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22122,7 +22122,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22142,7 +22142,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22245,7 +22245,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22268,7 +22268,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22372,7 +22372,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22395,7 +22395,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22513,7 +22513,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22539,7 +22539,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22558,7 +22558,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22578,7 +22578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22598,7 +22598,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22621,7 +22621,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22639,8 +22639,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22661,8 +22661,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22682,7 +22682,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22705,7 +22705,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22728,7 +22728,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22754,7 +22754,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22774,9 +22774,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22799,9 +22799,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22890,7 +22890,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22910,7 +22910,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23013,7 +23013,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23036,7 +23036,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23140,7 +23140,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23163,7 +23163,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23281,7 +23281,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23307,7 +23307,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23326,7 +23326,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23346,7 +23346,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23366,7 +23366,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23389,7 +23389,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23407,8 +23407,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23429,8 +23429,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23450,7 +23450,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23473,7 +23473,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23496,7 +23496,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23522,7 +23522,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23542,9 +23542,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23567,9 +23567,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23672,7 +23672,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23695,7 +23695,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23813,7 +23813,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23839,7 +23839,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23958,7 +23958,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23984,7 +23984,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24117,7 +24117,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24146,7 +24146,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24168,7 +24168,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24191,7 +24191,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24214,7 +24214,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24240,7 +24240,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24261,8 +24261,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24286,8 +24286,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24310,7 +24310,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24336,7 +24336,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24362,7 +24362,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24391,7 +24391,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24414,9 +24414,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24442,9 +24442,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24460,7 +24460,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24477,7 +24477,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24494,7 +24494,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24514,7 +24514,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24529,8 +24529,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24548,8 +24548,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24566,7 +24566,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24586,7 +24586,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24606,7 +24606,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24629,7 +24629,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24646,9 +24646,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24668,9 +24668,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24687,7 +24687,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24707,7 +24707,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24727,7 +24727,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24750,7 +24750,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24767,9 +24767,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24789,9 +24789,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24811,7 +24811,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24834,7 +24834,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24857,7 +24857,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24883,7 +24883,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24902,10 +24902,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24927,10 +24927,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24945,8 +24945,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24964,8 +24964,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24983,8 +24983,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25005,8 +25005,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25022,9 +25022,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25043,9 +25043,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25063,8 +25063,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25085,8 +25085,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25107,8 +25107,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25132,8 +25132,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25151,10 +25151,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25175,10 +25175,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25195,7 +25195,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25215,7 +25215,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25235,7 +25235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25258,7 +25258,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25275,9 +25275,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25297,9 +25297,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25319,7 +25319,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25342,7 +25342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25365,7 +25365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25391,7 +25391,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25410,10 +25410,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25435,10 +25435,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25458,7 +25458,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25481,7 +25481,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25504,7 +25504,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25530,7 +25530,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25549,10 +25549,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25574,10 +25574,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25600,7 +25600,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25626,7 +25626,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25652,7 +25652,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25681,7 +25681,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25702,11 +25702,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25730,11 +25730,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25751,9 +25751,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25773,9 +25773,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25795,9 +25795,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25820,9 +25820,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25840,10 +25840,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25864,10 +25864,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25887,9 +25887,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25912,9 +25912,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25937,9 +25937,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25965,9 +25965,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25987,11 +25987,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26014,11 +26014,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26106,7 +26106,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26126,7 +26126,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26229,7 +26229,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26252,7 +26252,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26356,7 +26356,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26379,7 +26379,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26497,7 +26497,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26523,7 +26523,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26542,7 +26542,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26562,7 +26562,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26582,7 +26582,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26605,7 +26605,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26623,8 +26623,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26645,8 +26645,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26666,7 +26666,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26689,7 +26689,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26712,7 +26712,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26738,7 +26738,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26758,9 +26758,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26783,9 +26783,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26888,7 +26888,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26911,7 +26911,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27029,7 +27029,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27055,7 +27055,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27174,7 +27174,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27200,7 +27200,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27333,7 +27333,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27362,7 +27362,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27384,7 +27384,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27407,7 +27407,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27430,7 +27430,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27456,7 +27456,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27477,8 +27477,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27502,8 +27502,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27526,7 +27526,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27552,7 +27552,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27578,7 +27578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27607,7 +27607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27630,9 +27630,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27658,9 +27658,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27764,7 +27764,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27787,7 +27787,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27905,7 +27905,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27931,7 +27931,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28050,7 +28050,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28076,7 +28076,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28209,7 +28209,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28238,7 +28238,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28260,7 +28260,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28283,7 +28283,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28306,7 +28306,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28332,7 +28332,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28353,8 +28353,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28378,8 +28378,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28402,7 +28402,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28428,7 +28428,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28454,7 +28454,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28483,7 +28483,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28506,9 +28506,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28534,9 +28534,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28654,7 +28654,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28680,7 +28680,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28813,7 +28813,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28842,7 +28842,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28976,7 +28976,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29005,7 +29005,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29153,7 +29153,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29185,7 +29185,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29210,7 +29210,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29236,7 +29236,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29262,7 +29262,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29291,7 +29291,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29315,8 +29315,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29343,8 +29343,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29370,7 +29370,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29399,7 +29399,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29428,7 +29428,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29460,7 +29460,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29486,9 +29486,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29517,9 +29517,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29538,7 +29538,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29558,7 +29558,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29578,7 +29578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29601,7 +29601,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29619,8 +29619,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29641,8 +29641,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29662,7 +29662,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29685,7 +29685,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29708,7 +29708,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29734,7 +29734,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29754,9 +29754,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29779,9 +29779,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29801,7 +29801,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29824,7 +29824,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29847,7 +29847,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29873,7 +29873,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29893,9 +29893,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29918,9 +29918,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29943,7 +29943,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29969,7 +29969,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29995,7 +29995,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30024,7 +30024,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30046,10 +30046,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30074,10 +30074,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30095,8 +30095,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30117,8 +30117,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30139,8 +30139,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30164,8 +30164,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30184,9 +30184,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30208,9 +30208,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30231,8 +30231,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30256,8 +30256,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30281,8 +30281,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30309,8 +30309,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30331,10 +30331,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30358,10 +30358,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30381,7 +30381,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30404,7 +30404,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30427,7 +30427,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30453,7 +30453,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30473,9 +30473,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30498,9 +30498,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30523,7 +30523,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30549,7 +30549,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30575,7 +30575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30604,7 +30604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30626,10 +30626,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30654,10 +30654,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30680,7 +30680,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30706,7 +30706,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30732,7 +30732,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30761,7 +30761,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30783,10 +30783,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30811,10 +30811,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30840,7 +30840,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30869,7 +30869,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30898,7 +30898,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30930,7 +30930,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30954,11 +30954,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30985,11 +30985,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31009,9 +31009,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31034,9 +31034,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31059,9 +31059,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31087,9 +31087,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31110,10 +31110,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31137,10 +31137,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31163,9 +31163,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31191,9 +31191,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31219,9 +31219,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31250,9 +31250,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31275,11 +31275,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31305,11 +31305,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31398,7 +31398,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31418,7 +31418,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31521,7 +31521,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31544,7 +31544,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31648,7 +31648,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31671,7 +31671,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31789,7 +31789,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31815,7 +31815,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31834,7 +31834,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31854,7 +31854,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31874,7 +31874,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31897,7 +31897,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31915,8 +31915,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31937,8 +31937,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31958,7 +31958,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31981,7 +31981,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32004,7 +32004,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32030,7 +32030,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32050,9 +32050,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32075,9 +32075,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32180,7 +32180,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32203,7 +32203,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32321,7 +32321,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32347,7 +32347,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32466,7 +32466,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32492,7 +32492,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32625,7 +32625,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32654,7 +32654,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32676,7 +32676,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32699,7 +32699,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32722,7 +32722,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32748,7 +32748,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32769,8 +32769,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32794,8 +32794,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32818,7 +32818,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32844,7 +32844,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32870,7 +32870,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32899,7 +32899,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32922,9 +32922,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32950,9 +32950,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33056,7 +33056,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33079,7 +33079,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33197,7 +33197,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33223,7 +33223,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33342,7 +33342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33368,7 +33368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33501,7 +33501,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33530,7 +33530,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33552,7 +33552,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33575,7 +33575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33598,7 +33598,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33624,7 +33624,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33645,8 +33645,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33670,8 +33670,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33694,7 +33694,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33720,7 +33720,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33746,7 +33746,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33775,7 +33775,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33798,9 +33798,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33826,9 +33826,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33946,7 +33946,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33972,7 +33972,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34105,7 +34105,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34134,7 +34134,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34268,7 +34268,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34297,7 +34297,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34445,7 +34445,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34477,7 +34477,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34502,7 +34502,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34528,7 +34528,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34554,7 +34554,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34583,7 +34583,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34607,8 +34607,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34635,8 +34635,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34662,7 +34662,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34691,7 +34691,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34720,7 +34720,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34752,7 +34752,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34778,9 +34778,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34809,9 +34809,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34830,7 +34830,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34850,7 +34850,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34870,7 +34870,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34893,7 +34893,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34911,8 +34911,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34933,8 +34933,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34954,7 +34954,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34977,7 +34977,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35000,7 +35000,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35026,7 +35026,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35046,9 +35046,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35071,9 +35071,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35093,7 +35093,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35116,7 +35116,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35139,7 +35139,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35165,7 +35165,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35185,9 +35185,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35210,9 +35210,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35235,7 +35235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35261,7 +35261,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35287,7 +35287,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35316,7 +35316,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35338,10 +35338,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35366,10 +35366,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35387,8 +35387,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35409,8 +35409,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35431,8 +35431,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35456,8 +35456,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35476,9 +35476,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35500,9 +35500,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35523,8 +35523,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35548,8 +35548,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35573,8 +35573,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35601,8 +35601,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35623,10 +35623,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35650,10 +35650,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35673,7 +35673,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35696,7 +35696,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35719,7 +35719,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35745,7 +35745,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35765,9 +35765,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35790,9 +35790,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35815,7 +35815,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35841,7 +35841,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35867,7 +35867,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35896,7 +35896,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35918,10 +35918,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35946,10 +35946,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35972,7 +35972,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35998,7 +35998,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36024,7 +36024,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36053,7 +36053,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36075,10 +36075,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36103,10 +36103,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36132,7 +36132,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36161,7 +36161,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36190,7 +36190,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36222,7 +36222,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36246,11 +36246,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36277,11 +36277,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36301,9 +36301,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36326,9 +36326,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36351,9 +36351,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36379,9 +36379,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36402,10 +36402,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36429,10 +36429,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36455,9 +36455,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36483,9 +36483,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36511,9 +36511,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36542,9 +36542,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36567,11 +36567,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36597,11 +36597,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36704,7 +36704,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36727,7 +36727,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36845,7 +36845,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36871,7 +36871,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36990,7 +36990,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37016,7 +37016,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37149,7 +37149,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37178,7 +37178,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37200,7 +37200,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37223,7 +37223,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37246,7 +37246,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37272,7 +37272,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37293,8 +37293,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37318,8 +37318,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37342,7 +37342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37368,7 +37368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37394,7 +37394,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37423,7 +37423,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37446,9 +37446,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37474,9 +37474,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37594,7 +37594,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37620,7 +37620,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37753,7 +37753,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37782,7 +37782,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37916,7 +37916,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37945,7 +37945,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38093,7 +38093,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38125,7 +38125,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38150,7 +38150,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38176,7 +38176,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38202,7 +38202,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38231,7 +38231,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38255,8 +38255,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38283,8 +38283,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38310,7 +38310,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38339,7 +38339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38368,7 +38368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38400,7 +38400,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38426,9 +38426,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38457,9 +38457,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38578,7 +38578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38604,7 +38604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38737,7 +38737,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38766,7 +38766,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38900,7 +38900,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38929,7 +38929,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39077,7 +39077,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39109,7 +39109,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39134,7 +39134,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39160,7 +39160,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39186,7 +39186,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39215,7 +39215,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39239,8 +39239,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39267,8 +39267,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39294,7 +39294,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39323,7 +39323,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39352,7 +39352,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39384,7 +39384,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39410,9 +39410,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39441,9 +39441,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39576,7 +39576,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39605,7 +39605,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39753,7 +39753,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39785,7 +39785,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39934,7 +39934,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39966,7 +39966,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40129,7 +40129,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40164,7 +40164,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40192,7 +40192,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40221,7 +40221,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40250,7 +40250,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40282,7 +40282,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40309,8 +40309,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40340,8 +40340,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40370,7 +40370,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40402,7 +40402,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40434,7 +40434,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40469,7 +40469,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40498,9 +40498,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40532,9 +40532,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40556,7 +40556,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40579,7 +40579,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40602,7 +40602,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40628,7 +40628,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40649,8 +40649,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40674,8 +40674,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40698,7 +40698,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40724,7 +40724,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40750,7 +40750,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40779,7 +40779,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40802,9 +40802,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40830,9 +40830,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40855,7 +40855,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40881,7 +40881,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40907,7 +40907,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40936,7 +40936,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40959,9 +40959,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40987,9 +40987,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41015,7 +41015,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41044,7 +41044,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41073,7 +41073,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41105,7 +41105,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41130,10 +41130,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41161,10 +41161,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41185,8 +41185,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41210,8 +41210,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41235,8 +41235,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41263,8 +41263,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41286,9 +41286,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41313,9 +41313,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41339,8 +41339,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41367,8 +41367,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41395,8 +41395,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41426,8 +41426,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41451,10 +41451,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41481,10 +41481,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41507,7 +41507,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41533,7 +41533,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41559,7 +41559,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41588,7 +41588,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41611,9 +41611,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41639,9 +41639,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41667,7 +41667,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41696,7 +41696,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41725,7 +41725,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41757,7 +41757,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41782,10 +41782,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41813,10 +41813,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41842,7 +41842,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41871,7 +41871,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41900,7 +41900,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41932,7 +41932,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41957,10 +41957,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41988,10 +41988,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42020,7 +42020,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42052,7 +42052,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42084,7 +42084,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42119,7 +42119,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42146,11 +42146,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42180,11 +42180,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42207,9 +42207,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42235,9 +42235,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42263,9 +42263,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42294,9 +42294,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42320,10 +42320,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42350,10 +42350,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42379,9 +42379,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42410,9 +42410,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42441,9 +42441,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42475,9 +42475,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42503,11 +42503,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42536,11 +42536,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -43431,7 +43431,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResource); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43445,7 +43445,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResourcePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43459,7 +43459,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResource); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43476,7 +43476,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResourcePtr); } } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device2.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device2.gen.cs index 74f1f394fc..7ab4623505 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device2.gen.cs @@ -2861,7 +2861,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2875,7 +2875,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2948,7 +2948,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2965,7 +2965,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3039,7 +3039,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3056,7 +3056,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3144,7 +3144,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3164,7 +3164,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3177,7 +3177,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3191,7 +3191,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3205,7 +3205,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3222,7 +3222,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3234,8 +3234,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3250,8 +3250,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3265,7 +3265,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3282,7 +3282,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3299,7 +3299,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3319,7 +3319,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3333,9 +3333,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3352,9 +3352,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3427,7 +3427,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3444,7 +3444,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3532,7 +3532,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3552,7 +3552,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3641,7 +3641,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3661,7 +3661,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3764,7 +3764,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3787,7 +3787,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3803,7 +3803,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3820,7 +3820,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3837,7 +3837,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3857,7 +3857,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3872,8 +3872,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3891,8 +3891,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3909,7 +3909,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3929,7 +3929,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3949,7 +3949,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3972,7 +3972,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3989,9 +3989,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4011,9 +4011,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4087,7 +4087,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4104,7 +4104,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4192,7 +4192,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4212,7 +4212,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4301,7 +4301,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4321,7 +4321,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4424,7 +4424,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4447,7 +4447,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4463,7 +4463,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4480,7 +4480,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4497,7 +4497,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4517,7 +4517,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4532,8 +4532,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4551,8 +4551,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4569,7 +4569,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4589,7 +4589,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4609,7 +4609,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4632,7 +4632,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4649,9 +4649,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4671,9 +4671,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4761,7 +4761,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4781,7 +4781,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4884,7 +4884,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4907,7 +4907,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5011,7 +5011,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5034,7 +5034,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5152,7 +5152,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5178,7 +5178,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5197,7 +5197,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5217,7 +5217,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5237,7 +5237,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5260,7 +5260,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5278,8 +5278,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5300,8 +5300,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5321,7 +5321,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5344,7 +5344,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5367,7 +5367,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5393,7 +5393,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5413,9 +5413,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5438,9 +5438,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5453,7 +5453,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5467,7 +5467,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5481,7 +5481,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5498,7 +5498,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5510,8 +5510,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5526,8 +5526,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5541,7 +5541,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5558,7 +5558,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5575,7 +5575,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5595,7 +5595,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5609,9 +5609,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5628,9 +5628,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5644,7 +5644,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5661,7 +5661,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5678,7 +5678,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5698,7 +5698,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5712,9 +5712,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5731,9 +5731,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5750,7 +5750,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5770,7 +5770,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5790,7 +5790,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5813,7 +5813,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5829,10 +5829,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5851,10 +5851,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5866,8 +5866,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5882,8 +5882,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5898,8 +5898,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5917,8 +5917,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5931,9 +5931,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5949,9 +5949,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5966,8 +5966,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5985,8 +5985,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6004,8 +6004,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6026,8 +6026,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6042,10 +6042,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6063,10 +6063,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6080,7 +6080,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6097,7 +6097,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6114,7 +6114,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6134,7 +6134,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6148,9 +6148,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6167,9 +6167,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6186,7 +6186,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6206,7 +6206,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6226,7 +6226,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6249,7 +6249,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6265,10 +6265,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6287,10 +6287,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6307,7 +6307,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6327,7 +6327,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6347,7 +6347,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6370,7 +6370,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6386,10 +6386,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6408,10 +6408,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6431,7 +6431,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6454,7 +6454,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6477,7 +6477,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6503,7 +6503,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6521,11 +6521,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6546,11 +6546,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6564,9 +6564,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6583,9 +6583,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6602,9 +6602,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6624,9 +6624,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6641,10 +6641,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6662,10 +6662,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6682,9 +6682,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6704,9 +6704,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6726,9 +6726,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6751,9 +6751,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6770,11 +6770,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6794,11 +6794,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6871,7 +6871,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6888,7 +6888,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6976,7 +6976,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -6996,7 +6996,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7085,7 +7085,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7105,7 +7105,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7208,7 +7208,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7231,7 +7231,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7247,7 +7247,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7264,7 +7264,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7281,7 +7281,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7301,7 +7301,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7316,8 +7316,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7335,8 +7335,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7353,7 +7353,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7373,7 +7373,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7393,7 +7393,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7416,7 +7416,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7433,9 +7433,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7455,9 +7455,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7545,7 +7545,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7565,7 +7565,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7668,7 +7668,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7691,7 +7691,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7795,7 +7795,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7818,7 +7818,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7936,7 +7936,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7962,7 +7962,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7981,7 +7981,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8001,7 +8001,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8021,7 +8021,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8044,7 +8044,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8062,8 +8062,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8084,8 +8084,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8105,7 +8105,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8128,7 +8128,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8151,7 +8151,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8177,7 +8177,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8197,9 +8197,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8222,9 +8222,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8313,7 +8313,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8333,7 +8333,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8436,7 +8436,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8459,7 +8459,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8563,7 +8563,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8586,7 +8586,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8704,7 +8704,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8730,7 +8730,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8749,7 +8749,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8769,7 +8769,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8789,7 +8789,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8812,7 +8812,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8830,8 +8830,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8852,8 +8852,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8873,7 +8873,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8896,7 +8896,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8919,7 +8919,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8945,7 +8945,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8965,9 +8965,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8990,9 +8990,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9095,7 +9095,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9118,7 +9118,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9236,7 +9236,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9262,7 +9262,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9381,7 +9381,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9407,7 +9407,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9540,7 +9540,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9569,7 +9569,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9591,7 +9591,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9614,7 +9614,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9637,7 +9637,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9663,7 +9663,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9684,8 +9684,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9709,8 +9709,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9733,7 +9733,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9759,7 +9759,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9785,7 +9785,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9814,7 +9814,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9837,9 +9837,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9865,9 +9865,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9883,7 +9883,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9900,7 +9900,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9917,7 +9917,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9937,7 +9937,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9952,8 +9952,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9971,8 +9971,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9989,7 +9989,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10009,7 +10009,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10029,7 +10029,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10052,7 +10052,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10069,9 +10069,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10091,9 +10091,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10110,7 +10110,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10130,7 +10130,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10150,7 +10150,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10173,7 +10173,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10190,9 +10190,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10212,9 +10212,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10234,7 +10234,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10257,7 +10257,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10280,7 +10280,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10306,7 +10306,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10325,10 +10325,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10350,10 +10350,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10368,8 +10368,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10387,8 +10387,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10406,8 +10406,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10428,8 +10428,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10445,9 +10445,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10466,9 +10466,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10486,8 +10486,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10508,8 +10508,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10530,8 +10530,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10555,8 +10555,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10574,10 +10574,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10598,10 +10598,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10618,7 +10618,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10638,7 +10638,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10658,7 +10658,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10681,7 +10681,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10698,9 +10698,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10720,9 +10720,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10742,7 +10742,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10765,7 +10765,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10788,7 +10788,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10814,7 +10814,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10833,10 +10833,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10858,10 +10858,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10881,7 +10881,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10904,7 +10904,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10927,7 +10927,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10953,7 +10953,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10972,10 +10972,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10997,10 +10997,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11023,7 +11023,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11049,7 +11049,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11075,7 +11075,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11104,7 +11104,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11125,11 +11125,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11153,11 +11153,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11174,9 +11174,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11196,9 +11196,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11218,9 +11218,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11243,9 +11243,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11263,10 +11263,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11287,10 +11287,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11310,9 +11310,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11335,9 +11335,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11360,9 +11360,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11388,9 +11388,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11410,11 +11410,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11437,11 +11437,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11515,7 +11515,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11532,7 +11532,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11620,7 +11620,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11640,7 +11640,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11729,7 +11729,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11749,7 +11749,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11852,7 +11852,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11875,7 +11875,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11891,7 +11891,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11908,7 +11908,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11925,7 +11925,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11945,7 +11945,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11960,8 +11960,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11979,8 +11979,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11997,7 +11997,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12017,7 +12017,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12037,7 +12037,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12060,7 +12060,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12077,9 +12077,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12099,9 +12099,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12189,7 +12189,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12209,7 +12209,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12312,7 +12312,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12335,7 +12335,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12439,7 +12439,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12462,7 +12462,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12580,7 +12580,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12606,7 +12606,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12625,7 +12625,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12645,7 +12645,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12665,7 +12665,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12688,7 +12688,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12706,8 +12706,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12728,8 +12728,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12749,7 +12749,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12772,7 +12772,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12795,7 +12795,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12821,7 +12821,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12841,9 +12841,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12866,9 +12866,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12957,7 +12957,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12977,7 +12977,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13080,7 +13080,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13103,7 +13103,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13207,7 +13207,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13230,7 +13230,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13348,7 +13348,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13374,7 +13374,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13393,7 +13393,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13413,7 +13413,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13433,7 +13433,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13456,7 +13456,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13474,8 +13474,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13496,8 +13496,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13517,7 +13517,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13540,7 +13540,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13563,7 +13563,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13589,7 +13589,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13609,9 +13609,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13634,9 +13634,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13739,7 +13739,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13762,7 +13762,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13880,7 +13880,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13906,7 +13906,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14025,7 +14025,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14051,7 +14051,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14184,7 +14184,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14213,7 +14213,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14235,7 +14235,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14258,7 +14258,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14281,7 +14281,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14307,7 +14307,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14328,8 +14328,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14353,8 +14353,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14377,7 +14377,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14403,7 +14403,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14429,7 +14429,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14458,7 +14458,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14481,9 +14481,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14509,9 +14509,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14527,7 +14527,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14544,7 +14544,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14561,7 +14561,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14581,7 +14581,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14596,8 +14596,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14615,8 +14615,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14633,7 +14633,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14653,7 +14653,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14673,7 +14673,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14696,7 +14696,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14713,9 +14713,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14735,9 +14735,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14754,7 +14754,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14774,7 +14774,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14794,7 +14794,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14817,7 +14817,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14834,9 +14834,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14856,9 +14856,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14878,7 +14878,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14901,7 +14901,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14924,7 +14924,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14950,7 +14950,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14969,10 +14969,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14994,10 +14994,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15012,8 +15012,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15031,8 +15031,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15050,8 +15050,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15072,8 +15072,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15089,9 +15089,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15110,9 +15110,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15130,8 +15130,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15152,8 +15152,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15174,8 +15174,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15199,8 +15199,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15218,10 +15218,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15242,10 +15242,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15262,7 +15262,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15282,7 +15282,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15302,7 +15302,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15325,7 +15325,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15342,9 +15342,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15364,9 +15364,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15386,7 +15386,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15409,7 +15409,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15432,7 +15432,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15458,7 +15458,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15477,10 +15477,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15502,10 +15502,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15525,7 +15525,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15548,7 +15548,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15571,7 +15571,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15597,7 +15597,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15616,10 +15616,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15641,10 +15641,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15667,7 +15667,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15693,7 +15693,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15719,7 +15719,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15748,7 +15748,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15769,11 +15769,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15797,11 +15797,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15818,9 +15818,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15840,9 +15840,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15862,9 +15862,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15887,9 +15887,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15907,10 +15907,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15931,10 +15931,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15954,9 +15954,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15979,9 +15979,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16004,9 +16004,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16032,9 +16032,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16054,11 +16054,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16081,11 +16081,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16173,7 +16173,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16193,7 +16193,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16296,7 +16296,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16319,7 +16319,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16423,7 +16423,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16446,7 +16446,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16564,7 +16564,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16590,7 +16590,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16609,7 +16609,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16629,7 +16629,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16649,7 +16649,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16672,7 +16672,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16690,8 +16690,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16712,8 +16712,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16733,7 +16733,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16756,7 +16756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16779,7 +16779,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16805,7 +16805,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16825,9 +16825,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16850,9 +16850,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16955,7 +16955,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16978,7 +16978,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17096,7 +17096,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17122,7 +17122,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17241,7 +17241,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17267,7 +17267,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17400,7 +17400,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17429,7 +17429,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17451,7 +17451,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17474,7 +17474,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17497,7 +17497,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17523,7 +17523,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17544,8 +17544,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17569,8 +17569,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17593,7 +17593,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17619,7 +17619,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17645,7 +17645,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17674,7 +17674,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17697,9 +17697,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17725,9 +17725,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17831,7 +17831,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17854,7 +17854,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17972,7 +17972,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17998,7 +17998,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18117,7 +18117,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18143,7 +18143,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18276,7 +18276,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18305,7 +18305,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18327,7 +18327,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18350,7 +18350,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18373,7 +18373,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18399,7 +18399,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18420,8 +18420,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18445,8 +18445,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18469,7 +18469,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18495,7 +18495,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18521,7 +18521,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18550,7 +18550,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18573,9 +18573,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18601,9 +18601,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18721,7 +18721,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18747,7 +18747,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18880,7 +18880,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18909,7 +18909,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19043,7 +19043,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19072,7 +19072,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19220,7 +19220,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19252,7 +19252,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19277,7 +19277,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19303,7 +19303,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19329,7 +19329,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19358,7 +19358,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19382,8 +19382,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19410,8 +19410,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19437,7 +19437,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19466,7 +19466,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19495,7 +19495,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19527,7 +19527,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19553,9 +19553,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19584,9 +19584,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19605,7 +19605,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19625,7 +19625,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19645,7 +19645,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19668,7 +19668,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19686,8 +19686,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19708,8 +19708,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19729,7 +19729,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19752,7 +19752,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19775,7 +19775,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19801,7 +19801,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19821,9 +19821,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19846,9 +19846,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19868,7 +19868,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19891,7 +19891,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19914,7 +19914,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19940,7 +19940,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19960,9 +19960,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19985,9 +19985,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20010,7 +20010,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20036,7 +20036,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20062,7 +20062,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20091,7 +20091,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20113,10 +20113,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20141,10 +20141,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20162,8 +20162,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20184,8 +20184,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20206,8 +20206,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20231,8 +20231,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20251,9 +20251,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20275,9 +20275,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20298,8 +20298,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20323,8 +20323,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20348,8 +20348,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20376,8 +20376,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20398,10 +20398,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20425,10 +20425,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20448,7 +20448,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20471,7 +20471,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20494,7 +20494,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20520,7 +20520,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20540,9 +20540,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20565,9 +20565,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20590,7 +20590,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20616,7 +20616,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20642,7 +20642,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20671,7 +20671,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20693,10 +20693,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20721,10 +20721,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20747,7 +20747,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20773,7 +20773,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20799,7 +20799,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20828,7 +20828,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20850,10 +20850,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20878,10 +20878,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20907,7 +20907,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20936,7 +20936,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20965,7 +20965,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20997,7 +20997,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21021,11 +21021,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21052,11 +21052,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21076,9 +21076,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21101,9 +21101,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21126,9 +21126,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21154,9 +21154,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21177,10 +21177,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21204,10 +21204,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21230,9 +21230,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21258,9 +21258,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21286,9 +21286,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21317,9 +21317,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21342,11 +21342,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21372,11 +21372,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21451,7 +21451,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21468,7 +21468,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21556,7 +21556,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21576,7 +21576,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21665,7 +21665,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21685,7 +21685,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21788,7 +21788,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21811,7 +21811,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21827,7 +21827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21844,7 +21844,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21861,7 +21861,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21881,7 +21881,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21896,8 +21896,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21915,8 +21915,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21933,7 +21933,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21953,7 +21953,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21973,7 +21973,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21996,7 +21996,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22013,9 +22013,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22035,9 +22035,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22125,7 +22125,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22145,7 +22145,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22248,7 +22248,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22271,7 +22271,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22375,7 +22375,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22398,7 +22398,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22516,7 +22516,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22542,7 +22542,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22561,7 +22561,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22581,7 +22581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22601,7 +22601,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22624,7 +22624,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22642,8 +22642,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22664,8 +22664,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22685,7 +22685,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22708,7 +22708,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22731,7 +22731,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22757,7 +22757,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22777,9 +22777,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22802,9 +22802,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22893,7 +22893,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22913,7 +22913,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23016,7 +23016,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23039,7 +23039,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23143,7 +23143,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23166,7 +23166,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23284,7 +23284,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23310,7 +23310,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23329,7 +23329,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23349,7 +23349,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23369,7 +23369,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23392,7 +23392,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23410,8 +23410,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23432,8 +23432,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23453,7 +23453,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23476,7 +23476,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23499,7 +23499,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23525,7 +23525,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23545,9 +23545,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23570,9 +23570,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23675,7 +23675,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23698,7 +23698,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23816,7 +23816,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23842,7 +23842,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23961,7 +23961,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23987,7 +23987,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24120,7 +24120,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24149,7 +24149,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24171,7 +24171,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24194,7 +24194,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24217,7 +24217,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24243,7 +24243,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24264,8 +24264,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24289,8 +24289,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24313,7 +24313,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24339,7 +24339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24365,7 +24365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24394,7 +24394,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24417,9 +24417,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24445,9 +24445,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24463,7 +24463,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24480,7 +24480,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24497,7 +24497,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24517,7 +24517,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24532,8 +24532,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24551,8 +24551,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24569,7 +24569,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24589,7 +24589,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24609,7 +24609,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24632,7 +24632,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24649,9 +24649,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24671,9 +24671,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24690,7 +24690,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24710,7 +24710,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24730,7 +24730,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24753,7 +24753,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24770,9 +24770,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24792,9 +24792,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24814,7 +24814,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24837,7 +24837,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24860,7 +24860,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24886,7 +24886,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24905,10 +24905,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24930,10 +24930,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24948,8 +24948,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24967,8 +24967,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24986,8 +24986,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25008,8 +25008,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25025,9 +25025,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25046,9 +25046,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25066,8 +25066,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25088,8 +25088,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25110,8 +25110,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25135,8 +25135,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25154,10 +25154,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25178,10 +25178,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25198,7 +25198,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25218,7 +25218,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25238,7 +25238,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25261,7 +25261,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25278,9 +25278,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25300,9 +25300,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25322,7 +25322,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25345,7 +25345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25368,7 +25368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25394,7 +25394,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25413,10 +25413,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25438,10 +25438,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25461,7 +25461,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25484,7 +25484,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25507,7 +25507,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25533,7 +25533,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25552,10 +25552,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25577,10 +25577,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25603,7 +25603,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25629,7 +25629,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25655,7 +25655,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25684,7 +25684,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25705,11 +25705,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25733,11 +25733,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25754,9 +25754,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25776,9 +25776,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25798,9 +25798,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25823,9 +25823,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25843,10 +25843,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25867,10 +25867,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25890,9 +25890,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25915,9 +25915,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25940,9 +25940,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25968,9 +25968,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25990,11 +25990,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26017,11 +26017,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26109,7 +26109,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26129,7 +26129,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26232,7 +26232,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26255,7 +26255,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26359,7 +26359,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26382,7 +26382,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26500,7 +26500,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26526,7 +26526,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26545,7 +26545,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26565,7 +26565,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26585,7 +26585,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26608,7 +26608,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26626,8 +26626,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26648,8 +26648,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26669,7 +26669,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26692,7 +26692,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26715,7 +26715,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26741,7 +26741,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26761,9 +26761,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26786,9 +26786,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26891,7 +26891,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26914,7 +26914,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27032,7 +27032,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27058,7 +27058,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27177,7 +27177,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27203,7 +27203,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27336,7 +27336,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27365,7 +27365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27387,7 +27387,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27410,7 +27410,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27433,7 +27433,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27459,7 +27459,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27480,8 +27480,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27505,8 +27505,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27529,7 +27529,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27555,7 +27555,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27581,7 +27581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27610,7 +27610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27633,9 +27633,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27661,9 +27661,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27767,7 +27767,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27790,7 +27790,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27908,7 +27908,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27934,7 +27934,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28053,7 +28053,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28079,7 +28079,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28212,7 +28212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28241,7 +28241,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28263,7 +28263,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28286,7 +28286,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28309,7 +28309,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28335,7 +28335,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28356,8 +28356,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28381,8 +28381,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28405,7 +28405,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28431,7 +28431,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28457,7 +28457,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28486,7 +28486,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28509,9 +28509,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28537,9 +28537,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28657,7 +28657,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28683,7 +28683,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28816,7 +28816,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28845,7 +28845,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28979,7 +28979,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29008,7 +29008,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29156,7 +29156,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29188,7 +29188,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29213,7 +29213,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29239,7 +29239,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29265,7 +29265,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29294,7 +29294,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29318,8 +29318,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29346,8 +29346,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29373,7 +29373,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29402,7 +29402,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29431,7 +29431,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29463,7 +29463,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29489,9 +29489,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29520,9 +29520,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29541,7 +29541,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29561,7 +29561,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29581,7 +29581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29604,7 +29604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29622,8 +29622,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29644,8 +29644,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29665,7 +29665,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29688,7 +29688,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29711,7 +29711,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29737,7 +29737,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29757,9 +29757,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29782,9 +29782,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29804,7 +29804,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29827,7 +29827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29850,7 +29850,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29876,7 +29876,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29896,9 +29896,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29921,9 +29921,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29946,7 +29946,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29972,7 +29972,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29998,7 +29998,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30027,7 +30027,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30049,10 +30049,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30077,10 +30077,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30098,8 +30098,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30120,8 +30120,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30142,8 +30142,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30167,8 +30167,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30187,9 +30187,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30211,9 +30211,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30234,8 +30234,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30259,8 +30259,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30284,8 +30284,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30312,8 +30312,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30334,10 +30334,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30361,10 +30361,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30384,7 +30384,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30407,7 +30407,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30430,7 +30430,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30456,7 +30456,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30476,9 +30476,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30501,9 +30501,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30526,7 +30526,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30552,7 +30552,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30578,7 +30578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30607,7 +30607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30629,10 +30629,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30657,10 +30657,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30683,7 +30683,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30709,7 +30709,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30735,7 +30735,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30764,7 +30764,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30786,10 +30786,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30814,10 +30814,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30843,7 +30843,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30872,7 +30872,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30901,7 +30901,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30933,7 +30933,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30957,11 +30957,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30988,11 +30988,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31012,9 +31012,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31037,9 +31037,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31062,9 +31062,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31090,9 +31090,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31113,10 +31113,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31140,10 +31140,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31166,9 +31166,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31194,9 +31194,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31222,9 +31222,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31253,9 +31253,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31278,11 +31278,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31308,11 +31308,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31401,7 +31401,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31421,7 +31421,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31524,7 +31524,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31547,7 +31547,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31651,7 +31651,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31674,7 +31674,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31792,7 +31792,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31818,7 +31818,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31837,7 +31837,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31857,7 +31857,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31877,7 +31877,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31900,7 +31900,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31918,8 +31918,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31940,8 +31940,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31961,7 +31961,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31984,7 +31984,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32007,7 +32007,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32033,7 +32033,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32053,9 +32053,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32078,9 +32078,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32183,7 +32183,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32206,7 +32206,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32324,7 +32324,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32350,7 +32350,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32469,7 +32469,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32495,7 +32495,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32628,7 +32628,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32657,7 +32657,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32679,7 +32679,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32702,7 +32702,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32725,7 +32725,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32751,7 +32751,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32772,8 +32772,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32797,8 +32797,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32821,7 +32821,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32847,7 +32847,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32873,7 +32873,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32902,7 +32902,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32925,9 +32925,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32953,9 +32953,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33059,7 +33059,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33082,7 +33082,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33200,7 +33200,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33226,7 +33226,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33345,7 +33345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33371,7 +33371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33504,7 +33504,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33533,7 +33533,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33555,7 +33555,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33578,7 +33578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33601,7 +33601,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33627,7 +33627,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33648,8 +33648,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33673,8 +33673,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33697,7 +33697,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33723,7 +33723,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33749,7 +33749,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33778,7 +33778,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33801,9 +33801,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33829,9 +33829,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33949,7 +33949,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33975,7 +33975,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34108,7 +34108,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34137,7 +34137,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34271,7 +34271,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34300,7 +34300,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34448,7 +34448,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34480,7 +34480,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34505,7 +34505,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34531,7 +34531,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34557,7 +34557,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34586,7 +34586,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34610,8 +34610,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34638,8 +34638,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34665,7 +34665,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34694,7 +34694,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34723,7 +34723,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34755,7 +34755,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34781,9 +34781,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34812,9 +34812,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34833,7 +34833,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34853,7 +34853,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34873,7 +34873,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34896,7 +34896,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34914,8 +34914,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34936,8 +34936,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34957,7 +34957,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34980,7 +34980,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35003,7 +35003,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35029,7 +35029,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35049,9 +35049,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35074,9 +35074,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35096,7 +35096,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35119,7 +35119,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35142,7 +35142,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35168,7 +35168,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35188,9 +35188,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35213,9 +35213,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35238,7 +35238,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35264,7 +35264,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35290,7 +35290,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35319,7 +35319,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35341,10 +35341,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35369,10 +35369,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35390,8 +35390,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35412,8 +35412,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35434,8 +35434,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35459,8 +35459,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35479,9 +35479,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35503,9 +35503,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35526,8 +35526,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35551,8 +35551,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35576,8 +35576,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35604,8 +35604,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35626,10 +35626,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35653,10 +35653,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35676,7 +35676,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35699,7 +35699,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35722,7 +35722,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35748,7 +35748,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35768,9 +35768,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35793,9 +35793,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35818,7 +35818,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35844,7 +35844,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35870,7 +35870,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35899,7 +35899,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35921,10 +35921,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35949,10 +35949,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35975,7 +35975,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36001,7 +36001,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36027,7 +36027,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36056,7 +36056,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36078,10 +36078,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36106,10 +36106,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36135,7 +36135,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36164,7 +36164,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36193,7 +36193,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36225,7 +36225,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36249,11 +36249,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36280,11 +36280,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36304,9 +36304,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36329,9 +36329,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36354,9 +36354,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36382,9 +36382,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36405,10 +36405,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36432,10 +36432,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36458,9 +36458,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36486,9 +36486,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36514,9 +36514,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36545,9 +36545,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36570,11 +36570,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36600,11 +36600,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36707,7 +36707,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36730,7 +36730,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36848,7 +36848,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36874,7 +36874,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36993,7 +36993,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37019,7 +37019,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37152,7 +37152,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37181,7 +37181,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37203,7 +37203,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37226,7 +37226,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37249,7 +37249,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37275,7 +37275,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37296,8 +37296,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37321,8 +37321,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37345,7 +37345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37371,7 +37371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37397,7 +37397,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37426,7 +37426,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37449,9 +37449,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37477,9 +37477,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37597,7 +37597,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37623,7 +37623,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37756,7 +37756,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37785,7 +37785,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37919,7 +37919,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37948,7 +37948,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38096,7 +38096,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38128,7 +38128,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38153,7 +38153,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38179,7 +38179,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38205,7 +38205,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38234,7 +38234,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38258,8 +38258,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38286,8 +38286,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38313,7 +38313,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38342,7 +38342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38371,7 +38371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38403,7 +38403,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38429,9 +38429,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38460,9 +38460,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38581,7 +38581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38607,7 +38607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38740,7 +38740,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38769,7 +38769,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38903,7 +38903,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38932,7 +38932,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39080,7 +39080,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39112,7 +39112,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39137,7 +39137,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39163,7 +39163,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39189,7 +39189,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39218,7 +39218,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39242,8 +39242,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39270,8 +39270,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39297,7 +39297,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39326,7 +39326,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39355,7 +39355,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39387,7 +39387,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39413,9 +39413,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39444,9 +39444,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39579,7 +39579,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39608,7 +39608,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39756,7 +39756,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39788,7 +39788,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39937,7 +39937,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39969,7 +39969,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40132,7 +40132,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40167,7 +40167,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40195,7 +40195,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40224,7 +40224,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40253,7 +40253,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40285,7 +40285,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40312,8 +40312,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40343,8 +40343,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40373,7 +40373,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40405,7 +40405,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40437,7 +40437,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40472,7 +40472,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40501,9 +40501,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40535,9 +40535,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40559,7 +40559,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40582,7 +40582,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40605,7 +40605,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40631,7 +40631,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40652,8 +40652,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40677,8 +40677,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40701,7 +40701,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40727,7 +40727,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40753,7 +40753,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40782,7 +40782,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40805,9 +40805,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40833,9 +40833,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40858,7 +40858,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40884,7 +40884,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40910,7 +40910,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40939,7 +40939,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40962,9 +40962,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40990,9 +40990,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41018,7 +41018,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41047,7 +41047,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41076,7 +41076,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41108,7 +41108,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41133,10 +41133,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41164,10 +41164,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41188,8 +41188,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41213,8 +41213,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41238,8 +41238,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41266,8 +41266,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41289,9 +41289,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41316,9 +41316,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41342,8 +41342,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41370,8 +41370,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41398,8 +41398,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41429,8 +41429,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41454,10 +41454,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41484,10 +41484,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41510,7 +41510,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41536,7 +41536,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41562,7 +41562,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41591,7 +41591,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41614,9 +41614,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41642,9 +41642,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41670,7 +41670,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41699,7 +41699,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41728,7 +41728,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41760,7 +41760,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41785,10 +41785,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41816,10 +41816,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41845,7 +41845,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41874,7 +41874,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41903,7 +41903,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41935,7 +41935,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41960,10 +41960,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41991,10 +41991,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42023,7 +42023,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42055,7 +42055,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42087,7 +42087,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42122,7 +42122,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42149,11 +42149,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42183,11 +42183,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42210,9 +42210,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42238,9 +42238,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42266,9 +42266,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42297,9 +42297,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42323,10 +42323,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42353,10 +42353,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42382,9 +42382,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42413,9 +42413,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42444,9 +42444,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42478,9 +42478,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42506,11 +42506,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42539,11 +42539,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -43434,7 +43434,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResource); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43448,7 +43448,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResourcePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43462,7 +43462,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResource); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43479,7 +43479,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResourcePtr); } } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device3.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device3.gen.cs index e33566e0cc..3afc16813e 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device3.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device3.gen.cs @@ -2864,7 +2864,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2878,7 +2878,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2951,7 +2951,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2968,7 +2968,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3042,7 +3042,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3059,7 +3059,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3147,7 +3147,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3167,7 +3167,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3180,7 +3180,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3194,7 +3194,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3208,7 +3208,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3225,7 +3225,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3237,8 +3237,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3253,8 +3253,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3268,7 +3268,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3285,7 +3285,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3302,7 +3302,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3322,7 +3322,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3336,9 +3336,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3355,9 +3355,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3430,7 +3430,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3447,7 +3447,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3535,7 +3535,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3555,7 +3555,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3644,7 +3644,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3664,7 +3664,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3767,7 +3767,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3790,7 +3790,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3806,7 +3806,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3823,7 +3823,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3840,7 +3840,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3860,7 +3860,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3875,8 +3875,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3894,8 +3894,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3912,7 +3912,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3932,7 +3932,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3952,7 +3952,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3975,7 +3975,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3992,9 +3992,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4014,9 +4014,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4090,7 +4090,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4107,7 +4107,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4195,7 +4195,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4215,7 +4215,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4304,7 +4304,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4324,7 +4324,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4427,7 +4427,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4450,7 +4450,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4466,7 +4466,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4483,7 +4483,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4500,7 +4500,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4520,7 +4520,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4535,8 +4535,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4554,8 +4554,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4572,7 +4572,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4592,7 +4592,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4612,7 +4612,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4635,7 +4635,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4652,9 +4652,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4674,9 +4674,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4764,7 +4764,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4784,7 +4784,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4887,7 +4887,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4910,7 +4910,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5014,7 +5014,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5037,7 +5037,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5155,7 +5155,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5181,7 +5181,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5200,7 +5200,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5220,7 +5220,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5240,7 +5240,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5263,7 +5263,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5281,8 +5281,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5303,8 +5303,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5324,7 +5324,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5347,7 +5347,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5370,7 +5370,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5396,7 +5396,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5416,9 +5416,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5441,9 +5441,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5456,7 +5456,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5470,7 +5470,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5484,7 +5484,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5501,7 +5501,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5513,8 +5513,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5529,8 +5529,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5544,7 +5544,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5561,7 +5561,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5578,7 +5578,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5598,7 +5598,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5612,9 +5612,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5631,9 +5631,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5647,7 +5647,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5664,7 +5664,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5681,7 +5681,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5701,7 +5701,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5715,9 +5715,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5734,9 +5734,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5753,7 +5753,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5773,7 +5773,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5793,7 +5793,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5816,7 +5816,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5832,10 +5832,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5854,10 +5854,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5869,8 +5869,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5885,8 +5885,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5901,8 +5901,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5920,8 +5920,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5934,9 +5934,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5952,9 +5952,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5969,8 +5969,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5988,8 +5988,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6007,8 +6007,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6029,8 +6029,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6045,10 +6045,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6066,10 +6066,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6083,7 +6083,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6100,7 +6100,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6117,7 +6117,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6137,7 +6137,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6151,9 +6151,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6170,9 +6170,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6189,7 +6189,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6209,7 +6209,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6229,7 +6229,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6252,7 +6252,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6268,10 +6268,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6290,10 +6290,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6310,7 +6310,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6330,7 +6330,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6350,7 +6350,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6373,7 +6373,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6389,10 +6389,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6411,10 +6411,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6434,7 +6434,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6457,7 +6457,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6480,7 +6480,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6506,7 +6506,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6524,11 +6524,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6549,11 +6549,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6567,9 +6567,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6586,9 +6586,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6605,9 +6605,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6627,9 +6627,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6644,10 +6644,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6665,10 +6665,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6685,9 +6685,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6707,9 +6707,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6729,9 +6729,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6754,9 +6754,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6773,11 +6773,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6797,11 +6797,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6874,7 +6874,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6891,7 +6891,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6979,7 +6979,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -6999,7 +6999,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7088,7 +7088,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7108,7 +7108,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7211,7 +7211,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7234,7 +7234,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7250,7 +7250,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7267,7 +7267,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7284,7 +7284,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7304,7 +7304,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7319,8 +7319,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7338,8 +7338,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7356,7 +7356,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7376,7 +7376,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7396,7 +7396,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7419,7 +7419,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7436,9 +7436,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7458,9 +7458,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7548,7 +7548,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7568,7 +7568,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7671,7 +7671,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7694,7 +7694,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7798,7 +7798,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7821,7 +7821,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7939,7 +7939,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7965,7 +7965,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7984,7 +7984,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8004,7 +8004,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8024,7 +8024,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8047,7 +8047,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8065,8 +8065,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8087,8 +8087,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8108,7 +8108,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8131,7 +8131,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8154,7 +8154,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8180,7 +8180,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8200,9 +8200,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8225,9 +8225,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8316,7 +8316,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8336,7 +8336,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8439,7 +8439,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8462,7 +8462,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8566,7 +8566,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8589,7 +8589,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8707,7 +8707,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8733,7 +8733,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8752,7 +8752,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8772,7 +8772,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8792,7 +8792,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8815,7 +8815,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8833,8 +8833,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8855,8 +8855,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8876,7 +8876,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8899,7 +8899,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8922,7 +8922,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8948,7 +8948,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8968,9 +8968,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8993,9 +8993,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9098,7 +9098,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9121,7 +9121,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9239,7 +9239,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9265,7 +9265,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9384,7 +9384,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9410,7 +9410,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9543,7 +9543,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9572,7 +9572,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9594,7 +9594,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9617,7 +9617,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9640,7 +9640,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9666,7 +9666,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9687,8 +9687,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9712,8 +9712,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9736,7 +9736,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9762,7 +9762,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9788,7 +9788,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9817,7 +9817,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9840,9 +9840,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9868,9 +9868,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9886,7 +9886,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9903,7 +9903,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9920,7 +9920,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9940,7 +9940,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9955,8 +9955,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9974,8 +9974,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9992,7 +9992,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10012,7 +10012,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10032,7 +10032,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10055,7 +10055,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10072,9 +10072,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10094,9 +10094,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10113,7 +10113,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10133,7 +10133,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10153,7 +10153,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10176,7 +10176,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10193,9 +10193,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10215,9 +10215,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10237,7 +10237,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10260,7 +10260,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10283,7 +10283,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10309,7 +10309,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10328,10 +10328,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10353,10 +10353,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10371,8 +10371,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10390,8 +10390,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10409,8 +10409,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10431,8 +10431,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10448,9 +10448,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10469,9 +10469,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10489,8 +10489,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10511,8 +10511,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10533,8 +10533,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10558,8 +10558,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10577,10 +10577,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10601,10 +10601,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10621,7 +10621,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10641,7 +10641,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10661,7 +10661,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10684,7 +10684,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10701,9 +10701,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10723,9 +10723,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10745,7 +10745,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10768,7 +10768,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10791,7 +10791,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10817,7 +10817,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10836,10 +10836,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10861,10 +10861,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10884,7 +10884,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10907,7 +10907,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10930,7 +10930,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10956,7 +10956,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10975,10 +10975,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11000,10 +11000,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11026,7 +11026,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11052,7 +11052,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11078,7 +11078,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11107,7 +11107,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11128,11 +11128,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11156,11 +11156,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11177,9 +11177,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11199,9 +11199,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11221,9 +11221,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11246,9 +11246,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11266,10 +11266,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11290,10 +11290,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11313,9 +11313,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11338,9 +11338,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11363,9 +11363,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11391,9 +11391,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11413,11 +11413,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11440,11 +11440,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11518,7 +11518,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11535,7 +11535,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11623,7 +11623,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11643,7 +11643,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11732,7 +11732,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11752,7 +11752,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11855,7 +11855,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11878,7 +11878,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11894,7 +11894,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11911,7 +11911,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11928,7 +11928,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11948,7 +11948,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11963,8 +11963,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11982,8 +11982,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12000,7 +12000,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12020,7 +12020,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12040,7 +12040,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12063,7 +12063,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12080,9 +12080,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12102,9 +12102,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12192,7 +12192,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12212,7 +12212,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12315,7 +12315,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12338,7 +12338,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12442,7 +12442,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12465,7 +12465,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12583,7 +12583,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12609,7 +12609,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12628,7 +12628,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12648,7 +12648,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12668,7 +12668,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12691,7 +12691,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12709,8 +12709,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12731,8 +12731,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12752,7 +12752,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12775,7 +12775,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12798,7 +12798,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12824,7 +12824,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12844,9 +12844,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12869,9 +12869,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12960,7 +12960,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12980,7 +12980,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13083,7 +13083,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13106,7 +13106,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13210,7 +13210,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13233,7 +13233,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13351,7 +13351,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13377,7 +13377,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13396,7 +13396,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13416,7 +13416,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13436,7 +13436,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13459,7 +13459,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13477,8 +13477,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13499,8 +13499,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13520,7 +13520,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13543,7 +13543,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13566,7 +13566,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13592,7 +13592,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13612,9 +13612,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13637,9 +13637,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13742,7 +13742,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13765,7 +13765,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13883,7 +13883,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13909,7 +13909,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14028,7 +14028,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14054,7 +14054,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14187,7 +14187,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14216,7 +14216,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14238,7 +14238,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14261,7 +14261,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14284,7 +14284,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14310,7 +14310,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14331,8 +14331,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14356,8 +14356,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14380,7 +14380,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14406,7 +14406,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14432,7 +14432,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14461,7 +14461,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14484,9 +14484,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14512,9 +14512,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14530,7 +14530,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14547,7 +14547,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14564,7 +14564,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14584,7 +14584,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14599,8 +14599,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14618,8 +14618,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14636,7 +14636,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14656,7 +14656,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14676,7 +14676,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14699,7 +14699,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14716,9 +14716,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14738,9 +14738,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14757,7 +14757,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14777,7 +14777,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14797,7 +14797,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14820,7 +14820,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14837,9 +14837,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14859,9 +14859,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14881,7 +14881,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14904,7 +14904,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14927,7 +14927,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14953,7 +14953,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14972,10 +14972,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14997,10 +14997,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15015,8 +15015,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15034,8 +15034,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15053,8 +15053,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15075,8 +15075,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15092,9 +15092,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15113,9 +15113,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15133,8 +15133,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15155,8 +15155,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15177,8 +15177,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15202,8 +15202,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15221,10 +15221,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15245,10 +15245,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15265,7 +15265,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15285,7 +15285,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15305,7 +15305,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15328,7 +15328,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15345,9 +15345,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15367,9 +15367,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15389,7 +15389,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15412,7 +15412,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15435,7 +15435,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15461,7 +15461,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15480,10 +15480,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15505,10 +15505,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15528,7 +15528,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15551,7 +15551,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15574,7 +15574,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15600,7 +15600,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15619,10 +15619,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15644,10 +15644,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15670,7 +15670,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15696,7 +15696,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15722,7 +15722,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15751,7 +15751,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15772,11 +15772,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15800,11 +15800,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15821,9 +15821,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15843,9 +15843,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15865,9 +15865,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15890,9 +15890,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15910,10 +15910,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15934,10 +15934,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15957,9 +15957,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15982,9 +15982,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16007,9 +16007,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16035,9 +16035,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16057,11 +16057,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16084,11 +16084,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16176,7 +16176,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16196,7 +16196,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16299,7 +16299,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16322,7 +16322,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16426,7 +16426,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16449,7 +16449,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16567,7 +16567,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16593,7 +16593,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16612,7 +16612,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16632,7 +16632,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16652,7 +16652,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16675,7 +16675,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16693,8 +16693,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16715,8 +16715,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16736,7 +16736,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16759,7 +16759,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16782,7 +16782,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16808,7 +16808,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16828,9 +16828,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16853,9 +16853,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16958,7 +16958,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16981,7 +16981,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17099,7 +17099,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17125,7 +17125,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17244,7 +17244,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17270,7 +17270,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17403,7 +17403,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17432,7 +17432,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17454,7 +17454,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17477,7 +17477,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17500,7 +17500,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17526,7 +17526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17547,8 +17547,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17572,8 +17572,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17596,7 +17596,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17622,7 +17622,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17648,7 +17648,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17677,7 +17677,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17700,9 +17700,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17728,9 +17728,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17834,7 +17834,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17857,7 +17857,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17975,7 +17975,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18001,7 +18001,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18120,7 +18120,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18146,7 +18146,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18279,7 +18279,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18308,7 +18308,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18330,7 +18330,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18353,7 +18353,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18376,7 +18376,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18402,7 +18402,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18423,8 +18423,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18448,8 +18448,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18472,7 +18472,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18498,7 +18498,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18524,7 +18524,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18553,7 +18553,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18576,9 +18576,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18604,9 +18604,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18724,7 +18724,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18750,7 +18750,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18883,7 +18883,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18912,7 +18912,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19046,7 +19046,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19075,7 +19075,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19223,7 +19223,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19255,7 +19255,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19280,7 +19280,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19306,7 +19306,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19332,7 +19332,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19361,7 +19361,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19385,8 +19385,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19413,8 +19413,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19440,7 +19440,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19469,7 +19469,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19498,7 +19498,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19530,7 +19530,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19556,9 +19556,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19587,9 +19587,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19608,7 +19608,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19628,7 +19628,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19648,7 +19648,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19671,7 +19671,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19689,8 +19689,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19711,8 +19711,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19732,7 +19732,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19755,7 +19755,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19778,7 +19778,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19804,7 +19804,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19824,9 +19824,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19849,9 +19849,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19871,7 +19871,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19894,7 +19894,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19917,7 +19917,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19943,7 +19943,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19963,9 +19963,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19988,9 +19988,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20013,7 +20013,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20039,7 +20039,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20065,7 +20065,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20094,7 +20094,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20116,10 +20116,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20144,10 +20144,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20165,8 +20165,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20187,8 +20187,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20209,8 +20209,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20234,8 +20234,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20254,9 +20254,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20278,9 +20278,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20301,8 +20301,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20326,8 +20326,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20351,8 +20351,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20379,8 +20379,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20401,10 +20401,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20428,10 +20428,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20451,7 +20451,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20474,7 +20474,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20497,7 +20497,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20523,7 +20523,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20543,9 +20543,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20568,9 +20568,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20593,7 +20593,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20619,7 +20619,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20645,7 +20645,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20674,7 +20674,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20696,10 +20696,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20724,10 +20724,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20750,7 +20750,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20776,7 +20776,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20802,7 +20802,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20831,7 +20831,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20853,10 +20853,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20881,10 +20881,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20910,7 +20910,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20939,7 +20939,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20968,7 +20968,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21000,7 +21000,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21024,11 +21024,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21055,11 +21055,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21079,9 +21079,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21104,9 +21104,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21129,9 +21129,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21157,9 +21157,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21180,10 +21180,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21207,10 +21207,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21233,9 +21233,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21261,9 +21261,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21289,9 +21289,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21320,9 +21320,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21345,11 +21345,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21375,11 +21375,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21454,7 +21454,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21471,7 +21471,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21559,7 +21559,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21579,7 +21579,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21668,7 +21668,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21688,7 +21688,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21791,7 +21791,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21814,7 +21814,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21830,7 +21830,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21847,7 +21847,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21864,7 +21864,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21884,7 +21884,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21899,8 +21899,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21918,8 +21918,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21936,7 +21936,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21956,7 +21956,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21976,7 +21976,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21999,7 +21999,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22016,9 +22016,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22038,9 +22038,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22128,7 +22128,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22148,7 +22148,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22251,7 +22251,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22274,7 +22274,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22378,7 +22378,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22401,7 +22401,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22519,7 +22519,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22545,7 +22545,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22564,7 +22564,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22584,7 +22584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22604,7 +22604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22627,7 +22627,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22645,8 +22645,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22667,8 +22667,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22688,7 +22688,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22711,7 +22711,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22734,7 +22734,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22760,7 +22760,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22780,9 +22780,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22805,9 +22805,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22896,7 +22896,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22916,7 +22916,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23019,7 +23019,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23042,7 +23042,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23146,7 +23146,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23169,7 +23169,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23287,7 +23287,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23313,7 +23313,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23332,7 +23332,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23352,7 +23352,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23372,7 +23372,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23395,7 +23395,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23413,8 +23413,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23435,8 +23435,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23456,7 +23456,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23479,7 +23479,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23502,7 +23502,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23528,7 +23528,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23548,9 +23548,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23573,9 +23573,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23678,7 +23678,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23701,7 +23701,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23819,7 +23819,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23845,7 +23845,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23964,7 +23964,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23990,7 +23990,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24123,7 +24123,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24152,7 +24152,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24174,7 +24174,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24197,7 +24197,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24220,7 +24220,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24246,7 +24246,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24267,8 +24267,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24292,8 +24292,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24316,7 +24316,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24342,7 +24342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24368,7 +24368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24397,7 +24397,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24420,9 +24420,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24448,9 +24448,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24466,7 +24466,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24483,7 +24483,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24500,7 +24500,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24520,7 +24520,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24535,8 +24535,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24554,8 +24554,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24572,7 +24572,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24592,7 +24592,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24612,7 +24612,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24635,7 +24635,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24652,9 +24652,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24674,9 +24674,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24693,7 +24693,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24713,7 +24713,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24733,7 +24733,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24756,7 +24756,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24773,9 +24773,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24795,9 +24795,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24817,7 +24817,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24840,7 +24840,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24863,7 +24863,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24889,7 +24889,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24908,10 +24908,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24933,10 +24933,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24951,8 +24951,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24970,8 +24970,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24989,8 +24989,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25011,8 +25011,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25028,9 +25028,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25049,9 +25049,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25069,8 +25069,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25091,8 +25091,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25113,8 +25113,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25138,8 +25138,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25157,10 +25157,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25181,10 +25181,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25201,7 +25201,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25221,7 +25221,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25241,7 +25241,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25264,7 +25264,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25281,9 +25281,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25303,9 +25303,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25325,7 +25325,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25348,7 +25348,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25371,7 +25371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25397,7 +25397,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25416,10 +25416,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25441,10 +25441,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25464,7 +25464,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25487,7 +25487,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25510,7 +25510,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25536,7 +25536,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25555,10 +25555,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25580,10 +25580,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25606,7 +25606,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25632,7 +25632,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25658,7 +25658,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25687,7 +25687,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25708,11 +25708,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25736,11 +25736,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25757,9 +25757,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25779,9 +25779,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25801,9 +25801,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25826,9 +25826,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25846,10 +25846,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25870,10 +25870,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25893,9 +25893,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25918,9 +25918,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25943,9 +25943,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25971,9 +25971,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25993,11 +25993,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26020,11 +26020,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26112,7 +26112,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26132,7 +26132,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26235,7 +26235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26258,7 +26258,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26362,7 +26362,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26385,7 +26385,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26503,7 +26503,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26529,7 +26529,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26548,7 +26548,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26568,7 +26568,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26588,7 +26588,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26611,7 +26611,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26629,8 +26629,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26651,8 +26651,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26672,7 +26672,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26695,7 +26695,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26718,7 +26718,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26744,7 +26744,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26764,9 +26764,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26789,9 +26789,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26894,7 +26894,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26917,7 +26917,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27035,7 +27035,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27061,7 +27061,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27180,7 +27180,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27206,7 +27206,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27339,7 +27339,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27368,7 +27368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27390,7 +27390,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27413,7 +27413,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27436,7 +27436,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27462,7 +27462,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27483,8 +27483,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27508,8 +27508,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27532,7 +27532,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27558,7 +27558,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27584,7 +27584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27613,7 +27613,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27636,9 +27636,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27664,9 +27664,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27770,7 +27770,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27793,7 +27793,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27911,7 +27911,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27937,7 +27937,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28056,7 +28056,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28082,7 +28082,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28215,7 +28215,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28244,7 +28244,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28266,7 +28266,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28289,7 +28289,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28312,7 +28312,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28338,7 +28338,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28359,8 +28359,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28384,8 +28384,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28408,7 +28408,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28434,7 +28434,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28460,7 +28460,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28489,7 +28489,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28512,9 +28512,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28540,9 +28540,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28660,7 +28660,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28686,7 +28686,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28819,7 +28819,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28848,7 +28848,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28982,7 +28982,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29011,7 +29011,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29159,7 +29159,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29191,7 +29191,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29216,7 +29216,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29242,7 +29242,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29268,7 +29268,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29297,7 +29297,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29321,8 +29321,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29349,8 +29349,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29376,7 +29376,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29405,7 +29405,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29434,7 +29434,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29466,7 +29466,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29492,9 +29492,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29523,9 +29523,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29544,7 +29544,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29564,7 +29564,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29584,7 +29584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29607,7 +29607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29625,8 +29625,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29647,8 +29647,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29668,7 +29668,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29691,7 +29691,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29714,7 +29714,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29740,7 +29740,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29760,9 +29760,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29785,9 +29785,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29807,7 +29807,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29830,7 +29830,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29853,7 +29853,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29879,7 +29879,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29899,9 +29899,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29924,9 +29924,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29949,7 +29949,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29975,7 +29975,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30001,7 +30001,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30030,7 +30030,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30052,10 +30052,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30080,10 +30080,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30101,8 +30101,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30123,8 +30123,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30145,8 +30145,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30170,8 +30170,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30190,9 +30190,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30214,9 +30214,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30237,8 +30237,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30262,8 +30262,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30287,8 +30287,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30315,8 +30315,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30337,10 +30337,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30364,10 +30364,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30387,7 +30387,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30410,7 +30410,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30433,7 +30433,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30459,7 +30459,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30479,9 +30479,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30504,9 +30504,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30529,7 +30529,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30555,7 +30555,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30581,7 +30581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30610,7 +30610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30632,10 +30632,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30660,10 +30660,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30686,7 +30686,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30712,7 +30712,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30738,7 +30738,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30767,7 +30767,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30789,10 +30789,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30817,10 +30817,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30846,7 +30846,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30875,7 +30875,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30904,7 +30904,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30936,7 +30936,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30960,11 +30960,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30991,11 +30991,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31015,9 +31015,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31040,9 +31040,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31065,9 +31065,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31093,9 +31093,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31116,10 +31116,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31143,10 +31143,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31169,9 +31169,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31197,9 +31197,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31225,9 +31225,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31256,9 +31256,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31281,11 +31281,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31311,11 +31311,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31404,7 +31404,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31424,7 +31424,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31527,7 +31527,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31550,7 +31550,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31654,7 +31654,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31677,7 +31677,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31795,7 +31795,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31821,7 +31821,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31840,7 +31840,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31860,7 +31860,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31880,7 +31880,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31903,7 +31903,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31921,8 +31921,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31943,8 +31943,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31964,7 +31964,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31987,7 +31987,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32010,7 +32010,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32036,7 +32036,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32056,9 +32056,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32081,9 +32081,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32186,7 +32186,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32209,7 +32209,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32327,7 +32327,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32353,7 +32353,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32472,7 +32472,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32498,7 +32498,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32631,7 +32631,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32660,7 +32660,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32682,7 +32682,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32705,7 +32705,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32728,7 +32728,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32754,7 +32754,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32775,8 +32775,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32800,8 +32800,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32824,7 +32824,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32850,7 +32850,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32876,7 +32876,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32905,7 +32905,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32928,9 +32928,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32956,9 +32956,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33062,7 +33062,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33085,7 +33085,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33203,7 +33203,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33229,7 +33229,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33348,7 +33348,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33374,7 +33374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33507,7 +33507,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33536,7 +33536,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33558,7 +33558,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33581,7 +33581,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33604,7 +33604,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33630,7 +33630,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33651,8 +33651,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33676,8 +33676,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33700,7 +33700,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33726,7 +33726,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33752,7 +33752,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33781,7 +33781,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33804,9 +33804,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33832,9 +33832,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33952,7 +33952,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33978,7 +33978,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34111,7 +34111,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34140,7 +34140,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34274,7 +34274,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34303,7 +34303,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34451,7 +34451,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34483,7 +34483,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34508,7 +34508,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34534,7 +34534,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34560,7 +34560,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34589,7 +34589,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34613,8 +34613,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34641,8 +34641,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34668,7 +34668,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34697,7 +34697,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34726,7 +34726,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34758,7 +34758,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34784,9 +34784,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34815,9 +34815,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34836,7 +34836,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34856,7 +34856,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34876,7 +34876,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34899,7 +34899,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34917,8 +34917,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34939,8 +34939,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34960,7 +34960,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34983,7 +34983,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35006,7 +35006,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35032,7 +35032,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35052,9 +35052,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35077,9 +35077,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35099,7 +35099,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35122,7 +35122,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35145,7 +35145,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35171,7 +35171,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35191,9 +35191,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35216,9 +35216,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35241,7 +35241,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35267,7 +35267,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35293,7 +35293,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35322,7 +35322,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35344,10 +35344,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35372,10 +35372,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35393,8 +35393,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35415,8 +35415,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35437,8 +35437,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35462,8 +35462,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35482,9 +35482,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35506,9 +35506,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35529,8 +35529,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35554,8 +35554,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35579,8 +35579,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35607,8 +35607,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35629,10 +35629,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35656,10 +35656,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35679,7 +35679,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35702,7 +35702,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35725,7 +35725,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35751,7 +35751,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35771,9 +35771,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35796,9 +35796,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35821,7 +35821,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35847,7 +35847,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35873,7 +35873,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35902,7 +35902,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35924,10 +35924,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35952,10 +35952,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35978,7 +35978,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36004,7 +36004,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36030,7 +36030,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36059,7 +36059,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36081,10 +36081,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36109,10 +36109,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36138,7 +36138,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36167,7 +36167,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36196,7 +36196,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36228,7 +36228,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36252,11 +36252,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36283,11 +36283,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36307,9 +36307,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36332,9 +36332,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36357,9 +36357,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36385,9 +36385,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36408,10 +36408,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36435,10 +36435,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36461,9 +36461,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36489,9 +36489,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36517,9 +36517,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36548,9 +36548,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36573,11 +36573,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36603,11 +36603,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36710,7 +36710,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36733,7 +36733,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36851,7 +36851,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36877,7 +36877,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36996,7 +36996,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37022,7 +37022,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37155,7 +37155,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37184,7 +37184,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37206,7 +37206,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37229,7 +37229,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37252,7 +37252,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37278,7 +37278,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37299,8 +37299,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37324,8 +37324,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37348,7 +37348,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37374,7 +37374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37400,7 +37400,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37429,7 +37429,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37452,9 +37452,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37480,9 +37480,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37600,7 +37600,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37626,7 +37626,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37759,7 +37759,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37788,7 +37788,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37922,7 +37922,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37951,7 +37951,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38099,7 +38099,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38131,7 +38131,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38156,7 +38156,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38182,7 +38182,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38208,7 +38208,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38237,7 +38237,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38261,8 +38261,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38289,8 +38289,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38316,7 +38316,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38345,7 +38345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38374,7 +38374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38406,7 +38406,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38432,9 +38432,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38463,9 +38463,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38584,7 +38584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38610,7 +38610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38743,7 +38743,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38772,7 +38772,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38906,7 +38906,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38935,7 +38935,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39083,7 +39083,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39115,7 +39115,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39140,7 +39140,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39166,7 +39166,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39192,7 +39192,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39221,7 +39221,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39245,8 +39245,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39273,8 +39273,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39300,7 +39300,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39329,7 +39329,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39358,7 +39358,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39390,7 +39390,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39416,9 +39416,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39447,9 +39447,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39582,7 +39582,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39611,7 +39611,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39759,7 +39759,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39791,7 +39791,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39940,7 +39940,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39972,7 +39972,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40135,7 +40135,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40170,7 +40170,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40198,7 +40198,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40227,7 +40227,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40256,7 +40256,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40288,7 +40288,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40315,8 +40315,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40346,8 +40346,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40376,7 +40376,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40408,7 +40408,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40440,7 +40440,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40475,7 +40475,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40504,9 +40504,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40538,9 +40538,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40562,7 +40562,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40585,7 +40585,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40608,7 +40608,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40634,7 +40634,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40655,8 +40655,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40680,8 +40680,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40704,7 +40704,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40730,7 +40730,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40756,7 +40756,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40785,7 +40785,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40808,9 +40808,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40836,9 +40836,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40861,7 +40861,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40887,7 +40887,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40913,7 +40913,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40942,7 +40942,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40965,9 +40965,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40993,9 +40993,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41021,7 +41021,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41050,7 +41050,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41079,7 +41079,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41111,7 +41111,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41136,10 +41136,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41167,10 +41167,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41191,8 +41191,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41216,8 +41216,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41241,8 +41241,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41269,8 +41269,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41292,9 +41292,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41319,9 +41319,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41345,8 +41345,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41373,8 +41373,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41401,8 +41401,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41432,8 +41432,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41457,10 +41457,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41487,10 +41487,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41513,7 +41513,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41539,7 +41539,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41565,7 +41565,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41594,7 +41594,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41617,9 +41617,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41645,9 +41645,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41673,7 +41673,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41702,7 +41702,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41731,7 +41731,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41763,7 +41763,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41788,10 +41788,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41819,10 +41819,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41848,7 +41848,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41877,7 +41877,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41906,7 +41906,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41938,7 +41938,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41963,10 +41963,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41994,10 +41994,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42026,7 +42026,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42058,7 +42058,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42090,7 +42090,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42125,7 +42125,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42152,11 +42152,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42186,11 +42186,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42213,9 +42213,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42241,9 +42241,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42269,9 +42269,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42300,9 +42300,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42326,10 +42326,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42356,10 +42356,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42385,9 +42385,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42416,9 +42416,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42447,9 +42447,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42481,9 +42481,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42509,11 +42509,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42542,11 +42542,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -43437,7 +43437,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResource); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43451,7 +43451,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResourcePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43465,7 +43465,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResource); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43482,7 +43482,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResourcePtr); } } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device4.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device4.gen.cs index 10e2d948bc..73736719c4 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device4.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device4.gen.cs @@ -2867,7 +2867,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2881,7 +2881,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2954,7 +2954,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2971,7 +2971,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3045,7 +3045,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3062,7 +3062,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3150,7 +3150,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3170,7 +3170,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3183,7 +3183,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3197,7 +3197,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3211,7 +3211,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3228,7 +3228,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3240,8 +3240,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3256,8 +3256,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3271,7 +3271,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3288,7 +3288,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3305,7 +3305,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3325,7 +3325,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3339,9 +3339,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3358,9 +3358,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3433,7 +3433,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3450,7 +3450,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3538,7 +3538,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3558,7 +3558,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3647,7 +3647,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3667,7 +3667,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3770,7 +3770,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3793,7 +3793,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3809,7 +3809,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3826,7 +3826,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3843,7 +3843,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3863,7 +3863,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3878,8 +3878,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3897,8 +3897,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3915,7 +3915,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3935,7 +3935,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3955,7 +3955,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3978,7 +3978,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3995,9 +3995,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4017,9 +4017,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4093,7 +4093,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4110,7 +4110,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4198,7 +4198,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4218,7 +4218,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4307,7 +4307,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4327,7 +4327,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4430,7 +4430,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4453,7 +4453,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4469,7 +4469,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4486,7 +4486,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4503,7 +4503,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4523,7 +4523,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4538,8 +4538,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4557,8 +4557,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4575,7 +4575,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4595,7 +4595,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4615,7 +4615,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4638,7 +4638,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4655,9 +4655,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4677,9 +4677,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4767,7 +4767,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4787,7 +4787,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4890,7 +4890,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4913,7 +4913,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5017,7 +5017,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5040,7 +5040,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5158,7 +5158,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5184,7 +5184,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5203,7 +5203,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5223,7 +5223,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5243,7 +5243,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5266,7 +5266,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5284,8 +5284,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5306,8 +5306,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5327,7 +5327,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5350,7 +5350,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5373,7 +5373,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5399,7 +5399,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5419,9 +5419,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5444,9 +5444,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5459,7 +5459,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5473,7 +5473,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5487,7 +5487,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5504,7 +5504,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5516,8 +5516,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5532,8 +5532,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5547,7 +5547,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5564,7 +5564,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5581,7 +5581,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5601,7 +5601,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5615,9 +5615,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5634,9 +5634,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5650,7 +5650,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5667,7 +5667,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5684,7 +5684,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5704,7 +5704,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5718,9 +5718,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5737,9 +5737,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5756,7 +5756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5776,7 +5776,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5796,7 +5796,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5819,7 +5819,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5835,10 +5835,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5857,10 +5857,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5872,8 +5872,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5888,8 +5888,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5904,8 +5904,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5923,8 +5923,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5937,9 +5937,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5955,9 +5955,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5972,8 +5972,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5991,8 +5991,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6010,8 +6010,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6032,8 +6032,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6048,10 +6048,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6069,10 +6069,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6086,7 +6086,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6103,7 +6103,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6120,7 +6120,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6140,7 +6140,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6154,9 +6154,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6173,9 +6173,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6192,7 +6192,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6212,7 +6212,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6232,7 +6232,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6255,7 +6255,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6271,10 +6271,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6293,10 +6293,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6313,7 +6313,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6333,7 +6333,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6353,7 +6353,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6376,7 +6376,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6392,10 +6392,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6414,10 +6414,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6437,7 +6437,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6460,7 +6460,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6483,7 +6483,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6509,7 +6509,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6527,11 +6527,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6552,11 +6552,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6570,9 +6570,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6589,9 +6589,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6608,9 +6608,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6630,9 +6630,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6647,10 +6647,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6668,10 +6668,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6688,9 +6688,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6710,9 +6710,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6732,9 +6732,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6757,9 +6757,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6776,11 +6776,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6800,11 +6800,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6877,7 +6877,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6894,7 +6894,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6982,7 +6982,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7002,7 +7002,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7091,7 +7091,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7111,7 +7111,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7214,7 +7214,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7237,7 +7237,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7253,7 +7253,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7270,7 +7270,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7287,7 +7287,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7307,7 +7307,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7322,8 +7322,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7341,8 +7341,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7359,7 +7359,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7379,7 +7379,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7399,7 +7399,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7422,7 +7422,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7439,9 +7439,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7461,9 +7461,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7551,7 +7551,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7571,7 +7571,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7674,7 +7674,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7697,7 +7697,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7801,7 +7801,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7824,7 +7824,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7942,7 +7942,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7968,7 +7968,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7987,7 +7987,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8007,7 +8007,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8027,7 +8027,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8050,7 +8050,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8068,8 +8068,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8090,8 +8090,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8111,7 +8111,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8134,7 +8134,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8157,7 +8157,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8183,7 +8183,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8203,9 +8203,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8228,9 +8228,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8319,7 +8319,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8339,7 +8339,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8442,7 +8442,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8465,7 +8465,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8569,7 +8569,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8592,7 +8592,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8710,7 +8710,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8736,7 +8736,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8755,7 +8755,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8775,7 +8775,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8795,7 +8795,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8818,7 +8818,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8836,8 +8836,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8858,8 +8858,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8879,7 +8879,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8902,7 +8902,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8925,7 +8925,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8951,7 +8951,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8971,9 +8971,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8996,9 +8996,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9101,7 +9101,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9124,7 +9124,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9242,7 +9242,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9268,7 +9268,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9387,7 +9387,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9413,7 +9413,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9546,7 +9546,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9575,7 +9575,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9597,7 +9597,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9620,7 +9620,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9643,7 +9643,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9669,7 +9669,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9690,8 +9690,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9715,8 +9715,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9739,7 +9739,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9765,7 +9765,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9791,7 +9791,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9820,7 +9820,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9843,9 +9843,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9871,9 +9871,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9889,7 +9889,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9906,7 +9906,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9923,7 +9923,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9943,7 +9943,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9958,8 +9958,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9977,8 +9977,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9995,7 +9995,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10015,7 +10015,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10035,7 +10035,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10058,7 +10058,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10075,9 +10075,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10097,9 +10097,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10116,7 +10116,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10136,7 +10136,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10156,7 +10156,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10179,7 +10179,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10196,9 +10196,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10218,9 +10218,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10240,7 +10240,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10263,7 +10263,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10286,7 +10286,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10312,7 +10312,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10331,10 +10331,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10356,10 +10356,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10374,8 +10374,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10393,8 +10393,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10412,8 +10412,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10434,8 +10434,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10451,9 +10451,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10472,9 +10472,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10492,8 +10492,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10514,8 +10514,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10536,8 +10536,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10561,8 +10561,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10580,10 +10580,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10604,10 +10604,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10624,7 +10624,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10644,7 +10644,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10664,7 +10664,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10687,7 +10687,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10704,9 +10704,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10726,9 +10726,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10748,7 +10748,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10771,7 +10771,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10794,7 +10794,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10820,7 +10820,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10839,10 +10839,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10864,10 +10864,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10887,7 +10887,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10910,7 +10910,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10933,7 +10933,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10959,7 +10959,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10978,10 +10978,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11003,10 +11003,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11029,7 +11029,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11055,7 +11055,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11081,7 +11081,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11110,7 +11110,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11131,11 +11131,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11159,11 +11159,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11180,9 +11180,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11202,9 +11202,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11224,9 +11224,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11249,9 +11249,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11269,10 +11269,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11293,10 +11293,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11316,9 +11316,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11341,9 +11341,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11366,9 +11366,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11394,9 +11394,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11416,11 +11416,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11443,11 +11443,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11521,7 +11521,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11538,7 +11538,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11626,7 +11626,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11646,7 +11646,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11735,7 +11735,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11755,7 +11755,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11858,7 +11858,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11881,7 +11881,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11897,7 +11897,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11914,7 +11914,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11931,7 +11931,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11951,7 +11951,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11966,8 +11966,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11985,8 +11985,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12003,7 +12003,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12023,7 +12023,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12043,7 +12043,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12066,7 +12066,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12083,9 +12083,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12105,9 +12105,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12195,7 +12195,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12215,7 +12215,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12318,7 +12318,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12341,7 +12341,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12445,7 +12445,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12468,7 +12468,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12586,7 +12586,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12612,7 +12612,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12631,7 +12631,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12651,7 +12651,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12671,7 +12671,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12694,7 +12694,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12712,8 +12712,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12734,8 +12734,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12755,7 +12755,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12778,7 +12778,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12801,7 +12801,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12827,7 +12827,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12847,9 +12847,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12872,9 +12872,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12963,7 +12963,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12983,7 +12983,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13086,7 +13086,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13109,7 +13109,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13213,7 +13213,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13236,7 +13236,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13354,7 +13354,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13380,7 +13380,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13399,7 +13399,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13419,7 +13419,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13439,7 +13439,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13462,7 +13462,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13480,8 +13480,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13502,8 +13502,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13523,7 +13523,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13546,7 +13546,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13569,7 +13569,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13595,7 +13595,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13615,9 +13615,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13640,9 +13640,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13745,7 +13745,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13768,7 +13768,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13886,7 +13886,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13912,7 +13912,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14031,7 +14031,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14057,7 +14057,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14190,7 +14190,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14219,7 +14219,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14241,7 +14241,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14264,7 +14264,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14287,7 +14287,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14313,7 +14313,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14334,8 +14334,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14359,8 +14359,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14383,7 +14383,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14409,7 +14409,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14435,7 +14435,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14464,7 +14464,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14487,9 +14487,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14515,9 +14515,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14533,7 +14533,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14550,7 +14550,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14567,7 +14567,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14587,7 +14587,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14602,8 +14602,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14621,8 +14621,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14639,7 +14639,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14659,7 +14659,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14679,7 +14679,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14702,7 +14702,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14719,9 +14719,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14741,9 +14741,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14760,7 +14760,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14780,7 +14780,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14800,7 +14800,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14823,7 +14823,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14840,9 +14840,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14862,9 +14862,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14884,7 +14884,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14907,7 +14907,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14930,7 +14930,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14956,7 +14956,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14975,10 +14975,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15000,10 +15000,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15018,8 +15018,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15037,8 +15037,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15056,8 +15056,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15078,8 +15078,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15095,9 +15095,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15116,9 +15116,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15136,8 +15136,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15158,8 +15158,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15180,8 +15180,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15205,8 +15205,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15224,10 +15224,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15248,10 +15248,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15268,7 +15268,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15288,7 +15288,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15308,7 +15308,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15331,7 +15331,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15348,9 +15348,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15370,9 +15370,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15392,7 +15392,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15415,7 +15415,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15438,7 +15438,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15464,7 +15464,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15483,10 +15483,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15508,10 +15508,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15531,7 +15531,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15554,7 +15554,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15577,7 +15577,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15603,7 +15603,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15622,10 +15622,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15647,10 +15647,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15673,7 +15673,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15699,7 +15699,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15725,7 +15725,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15754,7 +15754,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15775,11 +15775,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15803,11 +15803,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15824,9 +15824,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15846,9 +15846,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15868,9 +15868,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15893,9 +15893,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15913,10 +15913,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15937,10 +15937,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15960,9 +15960,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15985,9 +15985,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16010,9 +16010,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16038,9 +16038,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16060,11 +16060,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16087,11 +16087,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16179,7 +16179,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16199,7 +16199,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16302,7 +16302,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16325,7 +16325,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16429,7 +16429,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16452,7 +16452,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16570,7 +16570,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16596,7 +16596,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16615,7 +16615,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16635,7 +16635,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16655,7 +16655,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16678,7 +16678,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16696,8 +16696,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16718,8 +16718,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16739,7 +16739,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16762,7 +16762,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16785,7 +16785,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16811,7 +16811,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16831,9 +16831,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16856,9 +16856,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16961,7 +16961,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16984,7 +16984,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17102,7 +17102,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17128,7 +17128,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17247,7 +17247,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17273,7 +17273,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17406,7 +17406,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17435,7 +17435,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17457,7 +17457,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17480,7 +17480,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17503,7 +17503,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17529,7 +17529,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17550,8 +17550,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17575,8 +17575,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17599,7 +17599,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17625,7 +17625,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17651,7 +17651,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17680,7 +17680,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17703,9 +17703,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17731,9 +17731,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17837,7 +17837,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17860,7 +17860,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17978,7 +17978,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18004,7 +18004,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18123,7 +18123,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18149,7 +18149,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18282,7 +18282,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18311,7 +18311,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18333,7 +18333,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18356,7 +18356,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18379,7 +18379,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18405,7 +18405,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18426,8 +18426,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18451,8 +18451,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18475,7 +18475,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18501,7 +18501,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18527,7 +18527,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18556,7 +18556,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18579,9 +18579,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18607,9 +18607,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18727,7 +18727,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18753,7 +18753,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18886,7 +18886,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18915,7 +18915,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19049,7 +19049,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19078,7 +19078,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19226,7 +19226,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19258,7 +19258,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19283,7 +19283,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19309,7 +19309,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19335,7 +19335,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19364,7 +19364,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19388,8 +19388,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19416,8 +19416,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19443,7 +19443,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19472,7 +19472,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19501,7 +19501,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19533,7 +19533,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19559,9 +19559,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19590,9 +19590,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19611,7 +19611,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19631,7 +19631,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19651,7 +19651,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19674,7 +19674,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19692,8 +19692,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19714,8 +19714,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19735,7 +19735,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19758,7 +19758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19781,7 +19781,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19807,7 +19807,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19827,9 +19827,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19852,9 +19852,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19874,7 +19874,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19897,7 +19897,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19920,7 +19920,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19946,7 +19946,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19966,9 +19966,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19991,9 +19991,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20016,7 +20016,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20042,7 +20042,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20068,7 +20068,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20097,7 +20097,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20119,10 +20119,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20147,10 +20147,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20168,8 +20168,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20190,8 +20190,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20212,8 +20212,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20237,8 +20237,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20257,9 +20257,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20281,9 +20281,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20304,8 +20304,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20329,8 +20329,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20354,8 +20354,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20382,8 +20382,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20404,10 +20404,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20431,10 +20431,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20454,7 +20454,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20477,7 +20477,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20500,7 +20500,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20526,7 +20526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20546,9 +20546,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20571,9 +20571,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20596,7 +20596,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20622,7 +20622,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20648,7 +20648,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20677,7 +20677,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20699,10 +20699,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20727,10 +20727,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20753,7 +20753,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20779,7 +20779,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20805,7 +20805,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20834,7 +20834,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20856,10 +20856,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20884,10 +20884,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20913,7 +20913,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20942,7 +20942,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20971,7 +20971,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21003,7 +21003,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21027,11 +21027,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21058,11 +21058,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21082,9 +21082,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21107,9 +21107,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21132,9 +21132,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21160,9 +21160,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21183,10 +21183,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21210,10 +21210,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21236,9 +21236,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21264,9 +21264,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21292,9 +21292,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21323,9 +21323,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21348,11 +21348,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21378,11 +21378,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21457,7 +21457,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21474,7 +21474,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21562,7 +21562,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21582,7 +21582,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21671,7 +21671,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21691,7 +21691,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21794,7 +21794,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21817,7 +21817,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21833,7 +21833,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21850,7 +21850,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21867,7 +21867,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21887,7 +21887,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21902,8 +21902,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21921,8 +21921,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21939,7 +21939,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21959,7 +21959,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21979,7 +21979,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22002,7 +22002,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22019,9 +22019,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22041,9 +22041,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22131,7 +22131,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22151,7 +22151,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22254,7 +22254,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22277,7 +22277,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22381,7 +22381,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22404,7 +22404,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22522,7 +22522,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22548,7 +22548,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22567,7 +22567,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22587,7 +22587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22607,7 +22607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22630,7 +22630,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22648,8 +22648,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22670,8 +22670,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22691,7 +22691,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22714,7 +22714,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22737,7 +22737,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22763,7 +22763,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22783,9 +22783,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22808,9 +22808,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22899,7 +22899,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22919,7 +22919,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23022,7 +23022,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23045,7 +23045,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23149,7 +23149,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23172,7 +23172,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23290,7 +23290,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23316,7 +23316,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23335,7 +23335,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23355,7 +23355,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23375,7 +23375,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23398,7 +23398,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23416,8 +23416,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23438,8 +23438,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23459,7 +23459,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23482,7 +23482,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23505,7 +23505,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23531,7 +23531,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23551,9 +23551,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23576,9 +23576,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23681,7 +23681,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23704,7 +23704,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23822,7 +23822,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23848,7 +23848,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23967,7 +23967,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23993,7 +23993,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24126,7 +24126,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24155,7 +24155,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24177,7 +24177,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24200,7 +24200,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24223,7 +24223,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24249,7 +24249,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24270,8 +24270,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24295,8 +24295,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24319,7 +24319,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24345,7 +24345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24371,7 +24371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24400,7 +24400,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24423,9 +24423,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24451,9 +24451,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24469,7 +24469,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24486,7 +24486,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24503,7 +24503,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24523,7 +24523,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24538,8 +24538,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24557,8 +24557,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24575,7 +24575,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24595,7 +24595,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24615,7 +24615,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24638,7 +24638,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24655,9 +24655,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24677,9 +24677,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24696,7 +24696,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24716,7 +24716,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24736,7 +24736,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24759,7 +24759,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24776,9 +24776,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24798,9 +24798,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24820,7 +24820,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24843,7 +24843,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24866,7 +24866,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24892,7 +24892,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24911,10 +24911,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24936,10 +24936,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24954,8 +24954,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24973,8 +24973,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24992,8 +24992,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25014,8 +25014,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25031,9 +25031,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25052,9 +25052,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25072,8 +25072,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25094,8 +25094,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25116,8 +25116,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25141,8 +25141,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25160,10 +25160,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25184,10 +25184,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25204,7 +25204,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25224,7 +25224,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25244,7 +25244,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25267,7 +25267,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25284,9 +25284,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25306,9 +25306,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25328,7 +25328,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25351,7 +25351,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25374,7 +25374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25400,7 +25400,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25419,10 +25419,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25444,10 +25444,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25467,7 +25467,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25490,7 +25490,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25513,7 +25513,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25539,7 +25539,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25558,10 +25558,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25583,10 +25583,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25609,7 +25609,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25635,7 +25635,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25661,7 +25661,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25690,7 +25690,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25711,11 +25711,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25739,11 +25739,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25760,9 +25760,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25782,9 +25782,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25804,9 +25804,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25829,9 +25829,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25849,10 +25849,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25873,10 +25873,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25896,9 +25896,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25921,9 +25921,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25946,9 +25946,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25974,9 +25974,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25996,11 +25996,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26023,11 +26023,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26115,7 +26115,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26135,7 +26135,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26238,7 +26238,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26261,7 +26261,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26365,7 +26365,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26388,7 +26388,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26506,7 +26506,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26532,7 +26532,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26551,7 +26551,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26571,7 +26571,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26591,7 +26591,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26614,7 +26614,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26632,8 +26632,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26654,8 +26654,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26675,7 +26675,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26698,7 +26698,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26721,7 +26721,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26747,7 +26747,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26767,9 +26767,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26792,9 +26792,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26897,7 +26897,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26920,7 +26920,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27038,7 +27038,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27064,7 +27064,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27183,7 +27183,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27209,7 +27209,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27342,7 +27342,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27371,7 +27371,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27393,7 +27393,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27416,7 +27416,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27439,7 +27439,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27465,7 +27465,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27486,8 +27486,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27511,8 +27511,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27535,7 +27535,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27561,7 +27561,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27587,7 +27587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27616,7 +27616,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27639,9 +27639,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27667,9 +27667,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27773,7 +27773,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27796,7 +27796,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27914,7 +27914,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27940,7 +27940,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28059,7 +28059,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28085,7 +28085,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28218,7 +28218,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28247,7 +28247,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28269,7 +28269,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28292,7 +28292,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28315,7 +28315,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28341,7 +28341,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28362,8 +28362,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28387,8 +28387,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28411,7 +28411,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28437,7 +28437,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28463,7 +28463,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28492,7 +28492,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28515,9 +28515,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28543,9 +28543,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28663,7 +28663,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28689,7 +28689,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28822,7 +28822,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28851,7 +28851,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28985,7 +28985,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29014,7 +29014,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29162,7 +29162,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29194,7 +29194,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29219,7 +29219,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29245,7 +29245,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29271,7 +29271,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29300,7 +29300,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29324,8 +29324,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29352,8 +29352,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29379,7 +29379,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29408,7 +29408,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29437,7 +29437,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29469,7 +29469,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29495,9 +29495,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29526,9 +29526,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29547,7 +29547,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29567,7 +29567,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29587,7 +29587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29610,7 +29610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29628,8 +29628,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29650,8 +29650,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29671,7 +29671,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29694,7 +29694,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29717,7 +29717,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29743,7 +29743,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29763,9 +29763,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29788,9 +29788,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29810,7 +29810,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29833,7 +29833,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29856,7 +29856,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29882,7 +29882,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29902,9 +29902,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29927,9 +29927,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29952,7 +29952,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29978,7 +29978,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30004,7 +30004,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30033,7 +30033,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30055,10 +30055,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30083,10 +30083,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30104,8 +30104,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30126,8 +30126,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30148,8 +30148,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30173,8 +30173,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30193,9 +30193,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30217,9 +30217,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30240,8 +30240,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30265,8 +30265,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30290,8 +30290,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30318,8 +30318,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30340,10 +30340,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30367,10 +30367,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30390,7 +30390,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30413,7 +30413,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30436,7 +30436,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30462,7 +30462,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30482,9 +30482,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30507,9 +30507,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30532,7 +30532,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30558,7 +30558,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30584,7 +30584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30613,7 +30613,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30635,10 +30635,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30663,10 +30663,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30689,7 +30689,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30715,7 +30715,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30741,7 +30741,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30770,7 +30770,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30792,10 +30792,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30820,10 +30820,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30849,7 +30849,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30878,7 +30878,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30907,7 +30907,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30939,7 +30939,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30963,11 +30963,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30994,11 +30994,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31018,9 +31018,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31043,9 +31043,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31068,9 +31068,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31096,9 +31096,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31119,10 +31119,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31146,10 +31146,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31172,9 +31172,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31200,9 +31200,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31228,9 +31228,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31259,9 +31259,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31284,11 +31284,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31314,11 +31314,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31407,7 +31407,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31427,7 +31427,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31530,7 +31530,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31553,7 +31553,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31657,7 +31657,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31680,7 +31680,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31798,7 +31798,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31824,7 +31824,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31843,7 +31843,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31863,7 +31863,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31883,7 +31883,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31906,7 +31906,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31924,8 +31924,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31946,8 +31946,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31967,7 +31967,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31990,7 +31990,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32013,7 +32013,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32039,7 +32039,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32059,9 +32059,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32084,9 +32084,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32189,7 +32189,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32212,7 +32212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32330,7 +32330,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32356,7 +32356,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32475,7 +32475,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32501,7 +32501,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32634,7 +32634,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32663,7 +32663,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32685,7 +32685,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32708,7 +32708,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32731,7 +32731,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32757,7 +32757,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32778,8 +32778,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32803,8 +32803,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32827,7 +32827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32853,7 +32853,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32879,7 +32879,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32908,7 +32908,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32931,9 +32931,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32959,9 +32959,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33065,7 +33065,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33088,7 +33088,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33206,7 +33206,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33232,7 +33232,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33351,7 +33351,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33377,7 +33377,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33510,7 +33510,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33539,7 +33539,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33561,7 +33561,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33584,7 +33584,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33607,7 +33607,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33633,7 +33633,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33654,8 +33654,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33679,8 +33679,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33703,7 +33703,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33729,7 +33729,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33755,7 +33755,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33784,7 +33784,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33807,9 +33807,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33835,9 +33835,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33955,7 +33955,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33981,7 +33981,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34114,7 +34114,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34143,7 +34143,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34277,7 +34277,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34306,7 +34306,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34454,7 +34454,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34486,7 +34486,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34511,7 +34511,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34537,7 +34537,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34563,7 +34563,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34592,7 +34592,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34616,8 +34616,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34644,8 +34644,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34671,7 +34671,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34700,7 +34700,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34729,7 +34729,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34761,7 +34761,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34787,9 +34787,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34818,9 +34818,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34839,7 +34839,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34859,7 +34859,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34879,7 +34879,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34902,7 +34902,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34920,8 +34920,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34942,8 +34942,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34963,7 +34963,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34986,7 +34986,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35009,7 +35009,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35035,7 +35035,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35055,9 +35055,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35080,9 +35080,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35102,7 +35102,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35125,7 +35125,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35148,7 +35148,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35174,7 +35174,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35194,9 +35194,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35219,9 +35219,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35244,7 +35244,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35270,7 +35270,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35296,7 +35296,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35325,7 +35325,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35347,10 +35347,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35375,10 +35375,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35396,8 +35396,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35418,8 +35418,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35440,8 +35440,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35465,8 +35465,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35485,9 +35485,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35509,9 +35509,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35532,8 +35532,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35557,8 +35557,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35582,8 +35582,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35610,8 +35610,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35632,10 +35632,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35659,10 +35659,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35682,7 +35682,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35705,7 +35705,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35728,7 +35728,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35754,7 +35754,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35774,9 +35774,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35799,9 +35799,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35824,7 +35824,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35850,7 +35850,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35876,7 +35876,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35905,7 +35905,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35927,10 +35927,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35955,10 +35955,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35981,7 +35981,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36007,7 +36007,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36033,7 +36033,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36062,7 +36062,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36084,10 +36084,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36112,10 +36112,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36141,7 +36141,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36170,7 +36170,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36199,7 +36199,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36231,7 +36231,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36255,11 +36255,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36286,11 +36286,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36310,9 +36310,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36335,9 +36335,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36360,9 +36360,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36388,9 +36388,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36411,10 +36411,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36438,10 +36438,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36464,9 +36464,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36492,9 +36492,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36520,9 +36520,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36551,9 +36551,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36576,11 +36576,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36606,11 +36606,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36713,7 +36713,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36736,7 +36736,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36854,7 +36854,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36880,7 +36880,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36999,7 +36999,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37025,7 +37025,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37158,7 +37158,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37187,7 +37187,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37209,7 +37209,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37232,7 +37232,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37255,7 +37255,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37281,7 +37281,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37302,8 +37302,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37327,8 +37327,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37351,7 +37351,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37377,7 +37377,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37403,7 +37403,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37432,7 +37432,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37455,9 +37455,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37483,9 +37483,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37603,7 +37603,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37629,7 +37629,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37762,7 +37762,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37791,7 +37791,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37925,7 +37925,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37954,7 +37954,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38102,7 +38102,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38134,7 +38134,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38159,7 +38159,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38185,7 +38185,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38211,7 +38211,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38240,7 +38240,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38264,8 +38264,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38292,8 +38292,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38319,7 +38319,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38348,7 +38348,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38377,7 +38377,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38409,7 +38409,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38435,9 +38435,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38466,9 +38466,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38587,7 +38587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38613,7 +38613,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38746,7 +38746,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38775,7 +38775,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38909,7 +38909,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38938,7 +38938,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39086,7 +39086,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39118,7 +39118,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39143,7 +39143,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39169,7 +39169,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39195,7 +39195,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39224,7 +39224,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39248,8 +39248,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39276,8 +39276,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39303,7 +39303,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39332,7 +39332,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39361,7 +39361,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39393,7 +39393,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39419,9 +39419,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39450,9 +39450,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39585,7 +39585,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39614,7 +39614,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39762,7 +39762,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39794,7 +39794,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39943,7 +39943,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39975,7 +39975,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40138,7 +40138,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40173,7 +40173,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40201,7 +40201,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40230,7 +40230,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40259,7 +40259,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40291,7 +40291,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40318,8 +40318,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40349,8 +40349,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40379,7 +40379,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40411,7 +40411,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40443,7 +40443,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40478,7 +40478,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40507,9 +40507,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40541,9 +40541,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40565,7 +40565,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40588,7 +40588,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40611,7 +40611,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40637,7 +40637,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40658,8 +40658,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40683,8 +40683,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40707,7 +40707,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40733,7 +40733,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40759,7 +40759,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40788,7 +40788,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40811,9 +40811,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40839,9 +40839,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40864,7 +40864,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40890,7 +40890,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40916,7 +40916,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40945,7 +40945,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40968,9 +40968,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40996,9 +40996,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41024,7 +41024,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41053,7 +41053,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41082,7 +41082,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41114,7 +41114,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41139,10 +41139,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41170,10 +41170,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41194,8 +41194,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41219,8 +41219,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41244,8 +41244,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41272,8 +41272,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41295,9 +41295,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41322,9 +41322,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41348,8 +41348,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41376,8 +41376,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41404,8 +41404,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41435,8 +41435,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41460,10 +41460,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41490,10 +41490,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41516,7 +41516,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41542,7 +41542,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41568,7 +41568,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41597,7 +41597,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41620,9 +41620,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41648,9 +41648,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41676,7 +41676,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41705,7 +41705,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41734,7 +41734,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41766,7 +41766,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41791,10 +41791,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41822,10 +41822,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41851,7 +41851,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41880,7 +41880,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41909,7 +41909,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41941,7 +41941,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41966,10 +41966,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41997,10 +41997,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42029,7 +42029,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42061,7 +42061,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42093,7 +42093,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42128,7 +42128,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42155,11 +42155,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42189,11 +42189,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42216,9 +42216,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42244,9 +42244,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42272,9 +42272,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42303,9 +42303,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42329,10 +42329,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42359,10 +42359,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42388,9 +42388,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42419,9 +42419,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42450,9 +42450,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42484,9 +42484,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42512,11 +42512,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42545,11 +42545,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -43440,7 +43440,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResource); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43454,7 +43454,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResourcePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43468,7 +43468,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResource); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43485,7 +43485,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResourcePtr); } } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device5.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device5.gen.cs index cb21bfcdfb..c7fd519299 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device5.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Device5.gen.cs @@ -2870,7 +2870,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2884,7 +2884,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); return ret; } @@ -2957,7 +2957,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -2974,7 +2974,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3048,7 +3048,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3065,7 +3065,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3153,7 +3153,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3173,7 +3173,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3186,7 +3186,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3200,7 +3200,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3214,7 +3214,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3231,7 +3231,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3243,8 +3243,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3259,8 +3259,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3274,7 +3274,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3291,7 +3291,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3308,7 +3308,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3328,7 +3328,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3342,9 +3342,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3361,9 +3361,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); return ret; } @@ -3436,7 +3436,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3453,7 +3453,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -3541,7 +3541,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3561,7 +3561,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3650,7 +3650,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3670,7 +3670,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -3773,7 +3773,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3796,7 +3796,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -3812,7 +3812,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3829,7 +3829,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3846,7 +3846,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3866,7 +3866,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3881,8 +3881,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3900,8 +3900,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3918,7 +3918,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3938,7 +3938,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3958,7 +3958,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3981,7 +3981,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -3998,9 +3998,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4020,9 +4020,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4096,7 +4096,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4113,7 +4113,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -4201,7 +4201,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4221,7 +4221,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4310,7 +4310,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4330,7 +4330,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4433,7 +4433,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4456,7 +4456,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4472,7 +4472,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4489,7 +4489,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4506,7 +4506,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4526,7 +4526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4541,8 +4541,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4560,8 +4560,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4578,7 +4578,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4598,7 +4598,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4618,7 +4618,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4641,7 +4641,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4658,9 +4658,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4680,9 +4680,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -4770,7 +4770,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4790,7 +4790,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -4893,7 +4893,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -4916,7 +4916,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5020,7 +5020,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5043,7 +5043,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5161,7 +5161,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5187,7 +5187,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -5206,7 +5206,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5226,7 +5226,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5246,7 +5246,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5269,7 +5269,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5287,8 +5287,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5309,8 +5309,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5330,7 +5330,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5353,7 +5353,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5376,7 +5376,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5402,7 +5402,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5422,9 +5422,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5447,9 +5447,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -5462,7 +5462,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, int ret = default; var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5476,7 +5476,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5490,7 +5490,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5507,7 +5507,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5519,8 +5519,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5535,8 +5535,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5550,7 +5550,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5567,7 +5567,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5584,7 +5584,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5604,7 +5604,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5618,9 +5618,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5637,9 +5637,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5653,7 +5653,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5670,7 +5670,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5687,7 +5687,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5707,7 +5707,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5721,9 +5721,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5740,9 +5740,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5759,7 +5759,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5779,7 +5779,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5799,7 +5799,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5822,7 +5822,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5838,10 +5838,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5860,10 +5860,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5875,8 +5875,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5891,8 +5891,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5907,8 +5907,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5926,8 +5926,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5940,9 +5940,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5958,9 +5958,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5975,8 +5975,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -5994,8 +5994,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6013,8 +6013,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6035,8 +6035,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6051,10 +6051,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6072,10 +6072,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6089,7 +6089,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6106,7 +6106,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6123,7 +6123,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6143,7 +6143,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6157,9 +6157,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6176,9 +6176,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6195,7 +6195,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6215,7 +6215,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6235,7 +6235,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6258,7 +6258,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6274,10 +6274,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6296,10 +6296,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6316,7 +6316,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6336,7 +6336,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6356,7 +6356,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6379,7 +6379,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6395,10 +6395,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6417,10 +6417,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6440,7 +6440,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6463,7 +6463,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6486,7 +6486,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6512,7 +6512,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6530,11 +6530,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6555,11 +6555,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6573,9 +6573,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6592,9 +6592,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6611,9 +6611,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6633,9 +6633,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6650,10 +6650,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6671,10 +6671,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6691,9 +6691,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6713,9 +6713,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6735,9 +6735,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6760,9 +6760,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6779,11 +6779,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6803,11 +6803,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); return ret; } @@ -6880,7 +6880,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6897,7 +6897,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -6985,7 +6985,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7005,7 +7005,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7094,7 +7094,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7114,7 +7114,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7217,7 +7217,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7240,7 +7240,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7256,7 +7256,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7273,7 +7273,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7290,7 +7290,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7310,7 +7310,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7325,8 +7325,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7344,8 +7344,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7362,7 +7362,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7382,7 +7382,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7402,7 +7402,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7425,7 +7425,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7442,9 +7442,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7464,9 +7464,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -7554,7 +7554,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7574,7 +7574,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -7677,7 +7677,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7700,7 +7700,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7804,7 +7804,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7827,7 +7827,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7945,7 +7945,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7971,7 +7971,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -7990,7 +7990,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8010,7 +8010,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8030,7 +8030,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8053,7 +8053,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8071,8 +8071,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8093,8 +8093,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8114,7 +8114,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8137,7 +8137,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8160,7 +8160,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8186,7 +8186,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8206,9 +8206,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8231,9 +8231,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8322,7 +8322,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8342,7 +8342,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -8445,7 +8445,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8468,7 +8468,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8572,7 +8572,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8595,7 +8595,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8713,7 +8713,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8739,7 +8739,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -8758,7 +8758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8778,7 +8778,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8798,7 +8798,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8821,7 +8821,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8839,8 +8839,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8861,8 +8861,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8882,7 +8882,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8905,7 +8905,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8928,7 +8928,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8954,7 +8954,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8974,9 +8974,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -8999,9 +8999,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -9104,7 +9104,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9127,7 +9127,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9245,7 +9245,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9271,7 +9271,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9390,7 +9390,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9416,7 +9416,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9549,7 +9549,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9578,7 +9578,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -9600,7 +9600,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9623,7 +9623,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9646,7 +9646,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9672,7 +9672,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9693,8 +9693,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9718,8 +9718,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9742,7 +9742,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9768,7 +9768,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9794,7 +9794,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9823,7 +9823,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9846,9 +9846,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9874,9 +9874,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -9892,7 +9892,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9909,7 +9909,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9926,7 +9926,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9946,7 +9946,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9961,8 +9961,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9980,8 +9980,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -9998,7 +9998,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10018,7 +10018,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10038,7 +10038,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10061,7 +10061,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10078,9 +10078,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10100,9 +10100,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10119,7 +10119,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10139,7 +10139,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10159,7 +10159,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10182,7 +10182,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10199,9 +10199,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10221,9 +10221,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10243,7 +10243,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10266,7 +10266,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10289,7 +10289,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10315,7 +10315,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10334,10 +10334,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10359,10 +10359,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10377,8 +10377,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10396,8 +10396,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10415,8 +10415,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10437,8 +10437,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10454,9 +10454,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10475,9 +10475,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10495,8 +10495,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10517,8 +10517,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10539,8 +10539,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10564,8 +10564,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10583,10 +10583,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10607,10 +10607,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10627,7 +10627,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10647,7 +10647,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10667,7 +10667,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10690,7 +10690,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10707,9 +10707,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10729,9 +10729,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10751,7 +10751,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10774,7 +10774,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10797,7 +10797,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10823,7 +10823,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10842,10 +10842,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10867,10 +10867,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10890,7 +10890,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10913,7 +10913,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10936,7 +10936,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10962,7 +10962,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -10981,10 +10981,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11006,10 +11006,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11032,7 +11032,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11058,7 +11058,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11084,7 +11084,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11113,7 +11113,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11134,11 +11134,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11162,11 +11162,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11183,9 +11183,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11205,9 +11205,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11227,9 +11227,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11252,9 +11252,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11272,10 +11272,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11296,10 +11296,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11319,9 +11319,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11344,9 +11344,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11369,9 +11369,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11397,9 +11397,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11419,11 +11419,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11446,11 +11446,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, CounterType* pType, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -11524,7 +11524,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11541,7 +11541,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -11629,7 +11629,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11649,7 +11649,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11738,7 +11738,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11758,7 +11758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -11861,7 +11861,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11884,7 +11884,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -11900,7 +11900,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11917,7 +11917,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11934,7 +11934,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11954,7 +11954,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11969,8 +11969,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -11988,8 +11988,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12006,7 +12006,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12026,7 +12026,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12046,7 +12046,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12069,7 +12069,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12086,9 +12086,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12108,9 +12108,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -12198,7 +12198,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12218,7 +12218,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12321,7 +12321,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12344,7 +12344,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12448,7 +12448,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12471,7 +12471,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12589,7 +12589,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12615,7 +12615,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -12634,7 +12634,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12654,7 +12654,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12674,7 +12674,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12697,7 +12697,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12715,8 +12715,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12737,8 +12737,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12758,7 +12758,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12781,7 +12781,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12804,7 +12804,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12830,7 +12830,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12850,9 +12850,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12875,9 +12875,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -12966,7 +12966,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -12986,7 +12986,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -13089,7 +13089,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13112,7 +13112,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13216,7 +13216,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13239,7 +13239,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13357,7 +13357,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13383,7 +13383,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13402,7 +13402,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13422,7 +13422,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13442,7 +13442,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13465,7 +13465,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13483,8 +13483,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13505,8 +13505,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13526,7 +13526,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13549,7 +13549,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13572,7 +13572,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13598,7 +13598,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13618,9 +13618,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13643,9 +13643,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -13748,7 +13748,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13771,7 +13771,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13889,7 +13889,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -13915,7 +13915,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14034,7 +14034,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14060,7 +14060,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14193,7 +14193,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14222,7 +14222,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -14244,7 +14244,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14267,7 +14267,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14290,7 +14290,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14316,7 +14316,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14337,8 +14337,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14362,8 +14362,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14386,7 +14386,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14412,7 +14412,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14438,7 +14438,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14467,7 +14467,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14490,9 +14490,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14518,9 +14518,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -14536,7 +14536,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14553,7 +14553,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14570,7 +14570,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14590,7 +14590,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14605,8 +14605,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14624,8 +14624,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14642,7 +14642,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14662,7 +14662,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14682,7 +14682,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14705,7 +14705,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14722,9 +14722,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14744,9 +14744,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14763,7 +14763,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14783,7 +14783,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14803,7 +14803,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14826,7 +14826,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14843,9 +14843,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14865,9 +14865,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14887,7 +14887,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14910,7 +14910,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14933,7 +14933,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14959,7 +14959,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -14978,10 +14978,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15003,10 +15003,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15021,8 +15021,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15040,8 +15040,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15059,8 +15059,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15081,8 +15081,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15098,9 +15098,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15119,9 +15119,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15139,8 +15139,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15161,8 +15161,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15183,8 +15183,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15208,8 +15208,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15227,10 +15227,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15251,10 +15251,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15271,7 +15271,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15291,7 +15291,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15311,7 +15311,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15334,7 +15334,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15351,9 +15351,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15373,9 +15373,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15395,7 +15395,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15418,7 +15418,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15441,7 +15441,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15467,7 +15467,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15486,10 +15486,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15511,10 +15511,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15534,7 +15534,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15557,7 +15557,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15580,7 +15580,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15606,7 +15606,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15625,10 +15625,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15650,10 +15650,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15676,7 +15676,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15702,7 +15702,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15728,7 +15728,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15757,7 +15757,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15778,11 +15778,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15806,11 +15806,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15827,9 +15827,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15849,9 +15849,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15871,9 +15871,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15896,9 +15896,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15916,10 +15916,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15940,10 +15940,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15963,9 +15963,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -15988,9 +15988,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16013,9 +16013,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16041,9 +16041,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16063,11 +16063,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16090,11 +16090,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -16182,7 +16182,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16202,7 +16202,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -16305,7 +16305,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16328,7 +16328,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16432,7 +16432,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16455,7 +16455,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16573,7 +16573,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16599,7 +16599,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16618,7 +16618,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16638,7 +16638,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16658,7 +16658,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16681,7 +16681,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16699,8 +16699,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16721,8 +16721,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16742,7 +16742,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16765,7 +16765,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16788,7 +16788,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16814,7 +16814,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16834,9 +16834,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16859,9 +16859,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -16964,7 +16964,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -16987,7 +16987,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17105,7 +17105,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17131,7 +17131,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17250,7 +17250,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17276,7 +17276,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17409,7 +17409,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17438,7 +17438,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17460,7 +17460,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17483,7 +17483,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17506,7 +17506,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17532,7 +17532,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17553,8 +17553,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17578,8 +17578,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17602,7 +17602,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17628,7 +17628,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17654,7 +17654,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17683,7 +17683,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17706,9 +17706,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17734,9 +17734,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -17840,7 +17840,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17863,7 +17863,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -17981,7 +17981,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18007,7 +18007,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18126,7 +18126,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18152,7 +18152,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18285,7 +18285,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18314,7 +18314,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18336,7 +18336,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18359,7 +18359,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18382,7 +18382,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18408,7 +18408,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18429,8 +18429,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18454,8 +18454,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18478,7 +18478,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18504,7 +18504,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18530,7 +18530,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18559,7 +18559,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18582,9 +18582,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18610,9 +18610,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -18730,7 +18730,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18756,7 +18756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18889,7 +18889,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -18918,7 +18918,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19052,7 +19052,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19081,7 +19081,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19229,7 +19229,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19261,7 +19261,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -19286,7 +19286,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19312,7 +19312,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19338,7 +19338,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19367,7 +19367,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19391,8 +19391,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19419,8 +19419,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19446,7 +19446,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19475,7 +19475,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19504,7 +19504,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19536,7 +19536,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19562,9 +19562,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19593,9 +19593,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -19614,7 +19614,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19634,7 +19634,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19654,7 +19654,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19677,7 +19677,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19695,8 +19695,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19717,8 +19717,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19738,7 +19738,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19761,7 +19761,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19784,7 +19784,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19810,7 +19810,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19830,9 +19830,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19855,9 +19855,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19877,7 +19877,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19900,7 +19900,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19923,7 +19923,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19949,7 +19949,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19969,9 +19969,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -19994,9 +19994,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20019,7 +20019,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20045,7 +20045,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20071,7 +20071,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20100,7 +20100,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20122,10 +20122,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20150,10 +20150,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20171,8 +20171,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20193,8 +20193,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20215,8 +20215,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20240,8 +20240,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20260,9 +20260,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20284,9 +20284,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20307,8 +20307,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20332,8 +20332,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20357,8 +20357,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20385,8 +20385,8 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20407,10 +20407,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20434,10 +20434,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20457,7 +20457,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20480,7 +20480,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20503,7 +20503,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20529,7 +20529,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20549,9 +20549,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20574,9 +20574,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20599,7 +20599,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20625,7 +20625,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20651,7 +20651,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20680,7 +20680,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20702,10 +20702,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20730,10 +20730,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20756,7 +20756,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20782,7 +20782,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20808,7 +20808,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20837,7 +20837,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20859,10 +20859,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20887,10 +20887,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20916,7 +20916,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20945,7 +20945,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -20974,7 +20974,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21006,7 +21006,7 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21030,11 +21030,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21061,11 +21061,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21085,9 +21085,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21110,9 +21110,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21135,9 +21135,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21163,9 +21163,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21186,10 +21186,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21213,10 +21213,10 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21239,9 +21239,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21267,9 +21267,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21295,9 +21295,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21326,9 +21326,9 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21351,11 +21351,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21381,11 +21381,11 @@ public readonly unsafe int CheckCounter(CounterDesc* pDesc, ref CounterType pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDesc, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -21460,7 +21460,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21477,7 +21477,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } return ret; } @@ -21565,7 +21565,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21585,7 +21585,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21674,7 +21674,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21694,7 +21694,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -21797,7 +21797,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21820,7 +21820,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -21836,7 +21836,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21853,7 +21853,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21870,7 +21870,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21890,7 +21890,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21905,8 +21905,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21924,8 +21924,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21942,7 +21942,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21962,7 +21962,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -21982,7 +21982,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22005,7 +22005,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22022,9 +22022,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22044,9 +22044,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } return ret; } @@ -22134,7 +22134,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22154,7 +22154,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22257,7 +22257,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22280,7 +22280,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22384,7 +22384,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22407,7 +22407,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22525,7 +22525,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22551,7 +22551,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -22570,7 +22570,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22590,7 +22590,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22610,7 +22610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22633,7 +22633,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22651,8 +22651,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22673,8 +22673,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22694,7 +22694,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22717,7 +22717,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22740,7 +22740,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22766,7 +22766,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22786,9 +22786,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22811,9 +22811,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -22902,7 +22902,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -22922,7 +22922,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -23025,7 +23025,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23048,7 +23048,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23152,7 +23152,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23175,7 +23175,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23293,7 +23293,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23319,7 +23319,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23338,7 +23338,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23358,7 +23358,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23378,7 +23378,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23401,7 +23401,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23419,8 +23419,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23441,8 +23441,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23462,7 +23462,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23485,7 +23485,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23508,7 +23508,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23534,7 +23534,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23554,9 +23554,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23579,9 +23579,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -23684,7 +23684,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23707,7 +23707,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23825,7 +23825,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23851,7 +23851,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23970,7 +23970,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -23996,7 +23996,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24129,7 +24129,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24158,7 +24158,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -24180,7 +24180,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24203,7 +24203,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24226,7 +24226,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24252,7 +24252,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24273,8 +24273,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24298,8 +24298,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24322,7 +24322,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24348,7 +24348,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24374,7 +24374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24403,7 +24403,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24426,9 +24426,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24454,9 +24454,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -24472,7 +24472,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24489,7 +24489,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24506,7 +24506,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24526,7 +24526,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24541,8 +24541,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24560,8 +24560,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24578,7 +24578,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24598,7 +24598,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24618,7 +24618,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24641,7 +24641,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24658,9 +24658,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24680,9 +24680,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24699,7 +24699,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24719,7 +24719,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24739,7 +24739,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24762,7 +24762,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24779,9 +24779,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24801,9 +24801,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24823,7 +24823,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24846,7 +24846,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24869,7 +24869,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24895,7 +24895,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24914,10 +24914,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24939,10 +24939,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24957,8 +24957,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24976,8 +24976,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -24995,8 +24995,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25017,8 +25017,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25034,9 +25034,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25055,9 +25055,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25075,8 +25075,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25097,8 +25097,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25119,8 +25119,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25144,8 +25144,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25163,10 +25163,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25187,10 +25187,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25207,7 +25207,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25227,7 +25227,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25247,7 +25247,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25270,7 +25270,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25287,9 +25287,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25309,9 +25309,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25331,7 +25331,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25354,7 +25354,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25377,7 +25377,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25403,7 +25403,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25422,10 +25422,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25447,10 +25447,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25470,7 +25470,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25493,7 +25493,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25516,7 +25516,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25542,7 +25542,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25561,10 +25561,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25586,10 +25586,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25612,7 +25612,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25638,7 +25638,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25664,7 +25664,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25693,7 +25693,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25714,11 +25714,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25742,11 +25742,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25763,9 +25763,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25785,9 +25785,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25807,9 +25807,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25832,9 +25832,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25852,10 +25852,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25876,10 +25876,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25899,9 +25899,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25924,9 +25924,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25949,9 +25949,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25977,9 +25977,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -25999,11 +25999,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26026,11 +26026,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } return ret; } @@ -26118,7 +26118,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26138,7 +26138,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -26241,7 +26241,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26264,7 +26264,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26368,7 +26368,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26391,7 +26391,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26509,7 +26509,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26535,7 +26535,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26554,7 +26554,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26574,7 +26574,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26594,7 +26594,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26617,7 +26617,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26635,8 +26635,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26657,8 +26657,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26678,7 +26678,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26701,7 +26701,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26724,7 +26724,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26750,7 +26750,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26770,9 +26770,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26795,9 +26795,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -26900,7 +26900,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -26923,7 +26923,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27041,7 +27041,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27067,7 +27067,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27186,7 +27186,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27212,7 +27212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27345,7 +27345,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27374,7 +27374,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27396,7 +27396,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27419,7 +27419,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27442,7 +27442,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27468,7 +27468,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27489,8 +27489,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27514,8 +27514,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27538,7 +27538,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27564,7 +27564,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27590,7 +27590,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27619,7 +27619,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27642,9 +27642,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27670,9 +27670,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -27776,7 +27776,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27799,7 +27799,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27917,7 +27917,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -27943,7 +27943,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28062,7 +28062,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28088,7 +28088,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28221,7 +28221,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28250,7 +28250,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28272,7 +28272,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28295,7 +28295,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28318,7 +28318,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28344,7 +28344,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28365,8 +28365,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28390,8 +28390,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28414,7 +28414,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28440,7 +28440,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28466,7 +28466,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28495,7 +28495,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28518,9 +28518,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28546,9 +28546,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -28666,7 +28666,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28692,7 +28692,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28825,7 +28825,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28854,7 +28854,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -28988,7 +28988,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29017,7 +29017,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29165,7 +29165,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29197,7 +29197,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -29222,7 +29222,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29248,7 +29248,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29274,7 +29274,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29303,7 +29303,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29327,8 +29327,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29355,8 +29355,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29382,7 +29382,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29411,7 +29411,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29440,7 +29440,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29472,7 +29472,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29498,9 +29498,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29529,9 +29529,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -29550,7 +29550,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29570,7 +29570,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29590,7 +29590,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29613,7 +29613,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29631,8 +29631,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29653,8 +29653,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29674,7 +29674,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29697,7 +29697,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29720,7 +29720,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29746,7 +29746,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29766,9 +29766,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29791,9 +29791,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29813,7 +29813,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29836,7 +29836,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29859,7 +29859,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29885,7 +29885,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29905,9 +29905,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29930,9 +29930,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29955,7 +29955,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -29981,7 +29981,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30007,7 +30007,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30036,7 +30036,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30058,10 +30058,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30086,10 +30086,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30107,8 +30107,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30129,8 +30129,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30151,8 +30151,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30176,8 +30176,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30196,9 +30196,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30220,9 +30220,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30243,8 +30243,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30268,8 +30268,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30293,8 +30293,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30321,8 +30321,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30343,10 +30343,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30370,10 +30370,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30393,7 +30393,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30416,7 +30416,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30439,7 +30439,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30465,7 +30465,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30485,9 +30485,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30510,9 +30510,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30535,7 +30535,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30561,7 +30561,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30587,7 +30587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30616,7 +30616,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30638,10 +30638,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30666,10 +30666,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30692,7 +30692,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30718,7 +30718,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30744,7 +30744,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30773,7 +30773,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30795,10 +30795,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30823,10 +30823,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30852,7 +30852,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30881,7 +30881,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30910,7 +30910,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30942,7 +30942,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30966,11 +30966,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -30997,11 +30997,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31021,9 +31021,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31046,9 +31046,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31071,9 +31071,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31099,9 +31099,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31122,10 +31122,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31149,10 +31149,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31175,9 +31175,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31203,9 +31203,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31231,9 +31231,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31262,9 +31262,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31287,11 +31287,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31317,11 +31317,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, CounterType* pTyp { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pType, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -31410,7 +31410,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31430,7 +31430,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } return ret; @@ -31533,7 +31533,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31556,7 +31556,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31660,7 +31660,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31683,7 +31683,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31801,7 +31801,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31827,7 +31827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -31846,7 +31846,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31866,7 +31866,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31886,7 +31886,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31909,7 +31909,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31927,8 +31927,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31949,8 +31949,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31970,7 +31970,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -31993,7 +31993,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32016,7 +32016,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32042,7 +32042,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32062,9 +32062,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32087,9 +32087,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } return ret; @@ -32192,7 +32192,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32215,7 +32215,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32333,7 +32333,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32359,7 +32359,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32478,7 +32478,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32504,7 +32504,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32637,7 +32637,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32666,7 +32666,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -32688,7 +32688,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32711,7 +32711,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32734,7 +32734,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32760,7 +32760,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32781,8 +32781,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32806,8 +32806,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32830,7 +32830,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32856,7 +32856,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32882,7 +32882,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32911,7 +32911,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32934,9 +32934,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -32962,9 +32962,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33068,7 +33068,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33091,7 +33091,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33209,7 +33209,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33235,7 +33235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33354,7 +33354,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33380,7 +33380,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33513,7 +33513,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33542,7 +33542,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33564,7 +33564,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33587,7 +33587,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33610,7 +33610,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33636,7 +33636,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33657,8 +33657,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33682,8 +33682,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33706,7 +33706,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33732,7 +33732,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33758,7 +33758,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33787,7 +33787,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33810,9 +33810,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33838,9 +33838,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -33958,7 +33958,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -33984,7 +33984,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34117,7 +34117,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34146,7 +34146,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34280,7 +34280,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34309,7 +34309,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34457,7 +34457,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34489,7 +34489,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -34514,7 +34514,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34540,7 +34540,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34566,7 +34566,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34595,7 +34595,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34619,8 +34619,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34647,8 +34647,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34674,7 +34674,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34703,7 +34703,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34732,7 +34732,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34764,7 +34764,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34790,9 +34790,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34821,9 +34821,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -34842,7 +34842,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34862,7 +34862,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34882,7 +34882,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34905,7 +34905,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34923,8 +34923,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34945,8 +34945,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34966,7 +34966,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -34989,7 +34989,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35012,7 +35012,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35038,7 +35038,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35058,9 +35058,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35083,9 +35083,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35105,7 +35105,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35128,7 +35128,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35151,7 +35151,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35177,7 +35177,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35197,9 +35197,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35222,9 +35222,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35247,7 +35247,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35273,7 +35273,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35299,7 +35299,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35328,7 +35328,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35350,10 +35350,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35378,10 +35378,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35399,8 +35399,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35421,8 +35421,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35443,8 +35443,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35468,8 +35468,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35488,9 +35488,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35512,9 +35512,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35535,8 +35535,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35560,8 +35560,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35585,8 +35585,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35613,8 +35613,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35635,10 +35635,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35662,10 +35662,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35685,7 +35685,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35708,7 +35708,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35731,7 +35731,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35757,7 +35757,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35777,9 +35777,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35802,9 +35802,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35827,7 +35827,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35853,7 +35853,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35879,7 +35879,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35908,7 +35908,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35930,10 +35930,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35958,10 +35958,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -35984,7 +35984,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36010,7 +36010,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36036,7 +36036,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36065,7 +36065,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36087,10 +36087,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36115,10 +36115,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36144,7 +36144,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36173,7 +36173,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36202,7 +36202,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36234,7 +36234,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36258,11 +36258,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36289,11 +36289,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36313,9 +36313,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36338,9 +36338,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36363,9 +36363,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36391,9 +36391,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36414,10 +36414,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36441,10 +36441,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36467,9 +36467,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36495,9 +36495,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36523,9 +36523,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36554,9 +36554,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36579,11 +36579,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36609,11 +36609,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCounters, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } return ret; @@ -36716,7 +36716,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36739,7 +36739,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36857,7 +36857,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -36883,7 +36883,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37002,7 +37002,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37028,7 +37028,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37161,7 +37161,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37190,7 +37190,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37212,7 +37212,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37235,7 +37235,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37258,7 +37258,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37284,7 +37284,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37305,8 +37305,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37330,8 +37330,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37354,7 +37354,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37380,7 +37380,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37406,7 +37406,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37435,7 +37435,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37458,9 +37458,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37486,9 +37486,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -37606,7 +37606,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37632,7 +37632,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37765,7 +37765,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37794,7 +37794,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37928,7 +37928,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -37957,7 +37957,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38105,7 +38105,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38137,7 +38137,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38162,7 +38162,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38188,7 +38188,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38214,7 +38214,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38243,7 +38243,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38267,8 +38267,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38295,8 +38295,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38322,7 +38322,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38351,7 +38351,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38380,7 +38380,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38412,7 +38412,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38438,9 +38438,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38469,9 +38469,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szName, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -38590,7 +38590,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38616,7 +38616,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38749,7 +38749,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38778,7 +38778,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38912,7 +38912,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -38941,7 +38941,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39089,7 +39089,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39121,7 +39121,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39146,7 +39146,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39172,7 +39172,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39198,7 +39198,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39227,7 +39227,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39251,8 +39251,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39279,8 +39279,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39306,7 +39306,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39335,7 +39335,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39364,7 +39364,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39396,7 +39396,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39422,9 +39422,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39453,9 +39453,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -39588,7 +39588,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39617,7 +39617,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39765,7 +39765,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39797,7 +39797,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39946,7 +39946,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -39978,7 +39978,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40141,7 +40141,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40176,7 +40176,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } @@ -40204,7 +40204,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40233,7 +40233,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40262,7 +40262,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40294,7 +40294,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40321,8 +40321,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40352,8 +40352,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40382,7 +40382,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40414,7 +40414,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40446,7 +40446,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40481,7 +40481,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40510,9 +40510,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40544,9 +40544,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } } } @@ -40568,7 +40568,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40591,7 +40591,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40614,7 +40614,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40640,7 +40640,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40661,8 +40661,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40686,8 +40686,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40710,7 +40710,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40736,7 +40736,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40762,7 +40762,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40791,7 +40791,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40814,9 +40814,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40842,9 +40842,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40867,7 +40867,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40893,7 +40893,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40919,7 +40919,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40948,7 +40948,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40971,9 +40971,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -40999,9 +40999,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41027,7 +41027,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41056,7 +41056,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41085,7 +41085,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41117,7 +41117,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41142,10 +41142,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41173,10 +41173,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41197,8 +41197,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szNamePtr = (byte*) Marshal.StringToHGlobalAnsi(szName); var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41222,8 +41222,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41247,8 +41247,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41275,8 +41275,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41298,9 +41298,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41325,9 +41325,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41351,8 +41351,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41379,8 +41379,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41407,8 +41407,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41438,8 +41438,8 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41463,10 +41463,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41493,10 +41493,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLength, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41519,7 +41519,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41545,7 +41545,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41571,7 +41571,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41600,7 +41600,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41623,9 +41623,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41651,9 +41651,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41679,7 +41679,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41708,7 +41708,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41737,7 +41737,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41769,7 +41769,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41794,10 +41794,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41825,10 +41825,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnits, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41854,7 +41854,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41883,7 +41883,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41912,7 +41912,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41944,7 +41944,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -41969,10 +41969,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42000,10 +42000,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42032,7 +42032,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42064,7 +42064,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42096,7 +42096,7 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42131,7 +42131,7 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42158,11 +42158,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42192,11 +42192,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } } } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42219,9 +42219,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42247,9 +42247,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescription, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42275,9 +42275,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42306,9 +42306,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42332,10 +42332,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p var szUnitsPtr = (byte*) Marshal.StringToHGlobalAnsi(szUnits); var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42362,10 +42362,10 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLength, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42391,9 +42391,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLength); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42422,9 +42422,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescription, pDescriptionLengthPtr); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42453,9 +42453,9 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42487,9 +42487,9 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r } } } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42515,11 +42515,11 @@ public readonly unsafe int CheckCounter(ref CounterDesc pDesc, ref CounterType p { var szDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(szDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLength); - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -42548,11 +42548,11 @@ public readonly int CheckCounter(ref CounterDesc pDesc, ref CounterType pType, r { ret = ((delegate* unmanaged[Cdecl])LpVtbl[32])(@this, pDescPtr, pTypePtr, pActiveCountersPtr, szNamePtr, pNameLengthPtr, szUnitsPtr, pUnitsLengthPtr, szDescriptionPtr, pDescriptionLengthPtr); } - Marshal.FreeHGlobal((IntPtr)szDescriptionPtr); + Marshal.FreeHGlobal((nint)szDescriptionPtr); } - Marshal.FreeHGlobal((IntPtr)szUnitsPtr); + Marshal.FreeHGlobal((nint)szUnitsPtr); } - Marshal.FreeHGlobal((IntPtr)szNamePtr); + Marshal.FreeHGlobal((nint)szNamePtr); } } } @@ -43443,7 +43443,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResource); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43457,7 +43457,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterface, ppResourcePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43471,7 +43471,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire { ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResource); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -43488,7 +43488,7 @@ public readonly unsafe int OpenSharedResourceByName(string lpName, uint dwDesire ret = ((delegate* unmanaged[Cdecl])LpVtbl[49])(@this, lpNamePtr, dwDesiredAccess, returnedInterfacePtr, ppResourcePtr); } } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext2.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext2.gen.cs index 3ac87f1ffd..0d768878e3 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext2.gen.cs @@ -8813,7 +8813,7 @@ public readonly void SetMarkerInt(string pLabel, int Data) var @this = (ID3D11DeviceContext2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[141])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. @@ -8839,7 +8839,7 @@ public readonly void BeginEventInt(string pLabel, int Data) var @this = (ID3D11DeviceContext2*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[142])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext3.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext3.gen.cs index ac1b129ebe..33e82f39b5 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext3.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext3.gen.cs @@ -8816,7 +8816,7 @@ public readonly void SetMarkerInt(string pLabel, int Data) var @this = (ID3D11DeviceContext3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[141])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. @@ -8842,7 +8842,7 @@ public readonly void BeginEventInt(string pLabel, int Data) var @this = (ID3D11DeviceContext3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[142])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext4.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext4.gen.cs index ad611327d4..daeaf952fa 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext4.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11DeviceContext4.gen.cs @@ -8819,7 +8819,7 @@ public readonly void SetMarkerInt(string pLabel, int Data) var @this = (ID3D11DeviceContext4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[141])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. @@ -8845,7 +8845,7 @@ public readonly void BeginEventInt(string pLabel, int Data) var @this = (ID3D11DeviceContext4*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var pLabelPtr = (byte*) Marshal.StringToHGlobalAnsi(pLabel); ((delegate* unmanaged[Cdecl])LpVtbl[142])(@this, pLabelPtr, Data); - Marshal.FreeHGlobal((IntPtr)pLabelPtr); + Marshal.FreeHGlobal((nint)pLabelPtr); } /// To be documented. diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Fence.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Fence.gen.cs index 003a3e2a00..e61853af92 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Fence.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Fence.gen.cs @@ -386,7 +386,7 @@ public readonly unsafe int CreateSharedHandle(Silk.NET.Core.Native.SecurityAttri int ret = default; var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pAttributes, dwAccess, lpNamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -400,7 +400,7 @@ public readonly unsafe int CreateSharedHandle(Silk.NET.Core.Native.SecurityAttri { ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pAttributes, dwAccess, lpNamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); return ret; } @@ -473,7 +473,7 @@ public readonly unsafe int CreateSharedHandle(ref Silk.NET.Core.Native.SecurityA { var lpNamePtr = (byte*) Marshal.StringToHGlobalAnsi(lpName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pAttributesPtr, dwAccess, lpNamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); } return ret; } @@ -490,7 +490,7 @@ public readonly unsafe int CreateSharedHandle(ref Silk.NET.Core.Native.SecurityA { ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, pAttributesPtr, dwAccess, lpNamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)lpNamePtr); + Marshal.FreeHGlobal((nint)lpNamePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionLinkingGraph.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionLinkingGraph.gen.cs index 2aa0d73585..fc38ef0663 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionLinkingGraph.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionLinkingGraph.gen.cs @@ -306,7 +306,7 @@ public readonly unsafe int CallFunction(byte* pModuleInstanceNamespace, ID3D11Mo int ret = default; var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); return ret; } @@ -320,7 +320,7 @@ public readonly unsafe int CallFunction(byte* pModuleInstanceNamespace, ID3D11Mo { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); return ret; } @@ -393,7 +393,7 @@ public readonly unsafe int CallFunction(byte* pModuleInstanceNamespace, ref ID3D { var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespace, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } return ret; } @@ -410,7 +410,7 @@ public readonly unsafe int CallFunction(byte* pModuleInstanceNamespace, ref ID3D { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespace, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } return ret; } @@ -484,7 +484,7 @@ public readonly unsafe int CallFunction(ref byte pModuleInstanceNamespace, ID3D1 { var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } return ret; } @@ -501,7 +501,7 @@ public readonly unsafe int CallFunction(ref byte pModuleInstanceNamespace, ID3D1 { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } return ret; } @@ -589,7 +589,7 @@ public readonly unsafe int CallFunction(ref byte pModuleInstanceNamespace, ref I { var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } } return ret; @@ -609,7 +609,7 @@ public readonly unsafe int CallFunction(ref byte pModuleInstanceNamespace, ref I { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } } return ret; @@ -622,7 +622,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M int ret = default; var pModuleInstanceNamespacePtr = (byte*) Marshal.StringToHGlobalAnsi(pModuleInstanceNamespace); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionName, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -636,7 +636,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionName, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -650,7 +650,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNode); } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -667,7 +667,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNodePtr); } } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -679,8 +679,8 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M var pModuleInstanceNamespacePtr = (byte*) Marshal.StringToHGlobalAnsi(pModuleInstanceNamespace); var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -695,8 +695,8 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ID3D11M { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototype, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -710,7 +710,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionName, ppCallNode); } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -727,7 +727,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionName, ppCallNodePtr); } } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -744,7 +744,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNode); } } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -764,7 +764,7 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 } } } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -778,9 +778,9 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 { var pFunctionNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pFunctionName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNode); - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -797,9 +797,9 @@ public readonly unsafe int CallFunction(string pModuleInstanceNamespace, ref ID3 { ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pModuleInstanceNamespacePtr, pModuleWithFunctionPrototypePtr, pFunctionNamePtr, ppCallNodePtr); } - Marshal.FreeHGlobal((IntPtr)pFunctionNamePtr); + Marshal.FreeHGlobal((nint)pFunctionNamePtr); } - Marshal.FreeHGlobal((IntPtr)pModuleInstanceNamespacePtr); + Marshal.FreeHGlobal((nint)pModuleInstanceNamespacePtr); return ret; } @@ -879,7 +879,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int int ret = default; var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); return ret; } @@ -919,7 +919,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } return ret; } @@ -960,7 +960,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } return ret; } @@ -1009,7 +1009,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } } return ret; @@ -1022,7 +1022,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int int ret = default; var pSrcSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pSrcSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzle); - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1036,7 +1036,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1048,8 +1048,8 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int var pSrcSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pSrcSwizzle); var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1063,7 +1063,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzle); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1080,7 +1080,7 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); } } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1094,9 +1094,9 @@ public readonly unsafe int PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNode, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); return ret; } @@ -1136,7 +1136,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } return ret; } @@ -1185,7 +1185,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzle, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } } return ret; @@ -1235,7 +1235,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } } return ret; @@ -1293,7 +1293,7 @@ public readonly int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, int Src { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } } } @@ -1309,7 +1309,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { var pSrcSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pSrcSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzle); - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } @@ -1326,7 +1326,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } @@ -1341,8 +1341,8 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, var pSrcSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pSrcSwizzle); var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNode, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } @@ -1359,7 +1359,7 @@ public readonly unsafe int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzle); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } @@ -1379,7 +1379,7 @@ public readonly int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, int Src ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); } } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } @@ -1396,9 +1396,9 @@ public readonly int PassValueWithSwizzle(ref ID3D11LinkingNode pSrcNode, int Src { var pDstSwizzlePtr = (byte*) Marshal.StringToHGlobalAnsi(pDstSwizzle); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pSrcNodePtr, SrcParameterIndex, pSrcSwizzlePtr, pDstNodePtr, DstParameterIndex, pDstSwizzlePtr); - Marshal.FreeHGlobal((IntPtr)pDstSwizzlePtr); + Marshal.FreeHGlobal((nint)pDstSwizzlePtr); } - Marshal.FreeHGlobal((IntPtr)pSrcSwizzlePtr); + Marshal.FreeHGlobal((nint)pSrcSwizzlePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionReflection.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionReflection.gen.cs index faa335a163..97b14fefae 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionReflection.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11FunctionReflection.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref FunctionDesc pDesc) ID3D11ShaderReflectionConstantBuffer* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -149,7 +149,7 @@ public readonly int GetResourceBindingDesc(uint ResourceIndex, ref ShaderInputBi ID3D11ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -208,7 +208,7 @@ public readonly unsafe int GetResourceBindingDescByName(string Name, ShaderInput int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr, pDesc); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -222,7 +222,7 @@ public readonly int GetResourceBindingDescByName(string Name, ref ShaderInputBin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr, pDescPtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11InfoQueue.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11InfoQueue.gen.cs index cd0f7a7d88..d220970ab6 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11InfoQueue.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11InfoQueue.gen.cs @@ -515,7 +515,7 @@ public readonly int AddMessage(MessageCategory Category, MessageSeverity Severit int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Category, Severity, ID, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } @@ -547,7 +547,7 @@ public readonly int AddApplicationMessage(MessageSeverity Severity, string pDesc int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Severity, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Linker.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Linker.gen.cs index 6912d0aac5..3f762e1bde 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Linker.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Linker.gen.cs @@ -222,7 +222,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, int ret = default; var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryName, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); return ret; } @@ -236,7 +236,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryName, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); return ret; } @@ -250,7 +250,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryName, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); return ret; } @@ -267,7 +267,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryName, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); return ret; } @@ -412,7 +412,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, ref byte pEntryNam { var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -429,7 +429,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, ref byte pEntryNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -446,7 +446,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, ref byte pEntryNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -466,7 +466,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, ref byte pEntryNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -478,7 +478,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, int ret = default; var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -492,7 +492,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetName, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -506,7 +506,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetName, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -523,7 +523,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetName, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -537,7 +537,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -554,7 +554,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -571,7 +571,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -591,7 +591,7 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -603,8 +603,8 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -619,8 +619,8 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -635,8 +635,8 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -654,8 +654,8 @@ public readonly unsafe int Link(ID3D11ModuleInstance* pEntry, string pEntryName, ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntry, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); return ret; } @@ -800,7 +800,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, byte* pEntryNam { var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryName, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -817,7 +817,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, byte* pEntryNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryName, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -834,7 +834,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, byte* pEntryNam { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryName, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -854,7 +854,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, byte* pEntryNam ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryName, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } return ret; } @@ -1026,7 +1026,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, ref byte pEntry { var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } } return ret; @@ -1046,7 +1046,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, ref byte pEntry { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } } return ret; @@ -1066,7 +1066,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, ref byte pEntry { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } } return ret; @@ -1089,7 +1089,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, ref byte pEntry ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); } } return ret; @@ -1104,7 +1104,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1121,7 +1121,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetName, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1138,7 +1138,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetName, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1158,7 +1158,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetName, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1175,7 +1175,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1195,7 +1195,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1215,7 +1215,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1238,7 +1238,7 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa } } } - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1253,8 +1253,8 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa var pEntryNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pEntryName); var pTargetNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pTargetName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBuffer); - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1272,8 +1272,8 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlob, ppErrorBufferPtr); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1291,8 +1291,8 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBuffer); } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } @@ -1313,8 +1313,8 @@ public readonly unsafe int Link(ref ID3D11ModuleInstance pEntry, string pEntryNa ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pEntryPtr, pEntryNamePtr, pTargetNamePtr, uFlags, ppShaderBlobPtr, ppErrorBufferPtr); } } - Marshal.FreeHGlobal((IntPtr)pTargetNamePtr); - Marshal.FreeHGlobal((IntPtr)pEntryNamePtr); + Marshal.FreeHGlobal((nint)pTargetNamePtr); + Marshal.FreeHGlobal((nint)pEntryNamePtr); } return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Module.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Module.gen.cs index 6480d41659..0a0a2503f7 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Module.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11Module.gen.cs @@ -162,7 +162,7 @@ public readonly unsafe int CreateInstance(string pNamespace, ID3D11ModuleInstanc int ret = default; var pNamespacePtr = (byte*) Marshal.StringToHGlobalAnsi(pNamespace); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pNamespacePtr, ppModuleInstance); - Marshal.FreeHGlobal((IntPtr)pNamespacePtr); + Marshal.FreeHGlobal((nint)pNamespacePtr); return ret; } @@ -176,7 +176,7 @@ public readonly unsafe int CreateInstance(string pNamespace, ref ID3D11ModuleIns { ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pNamespacePtr, ppModuleInstancePtr); } - Marshal.FreeHGlobal((IntPtr)pNamespacePtr); + Marshal.FreeHGlobal((nint)pNamespacePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ModuleInstance.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ModuleInstance.gen.cs index 1ae6e06c05..811d2c2681 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ModuleInstance.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ModuleInstance.gen.cs @@ -144,7 +144,7 @@ public readonly int BindConstantBufferByName(string pName, uint uDstSlot, uint c int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pNamePtr, uDstSlot, cbDstOffset); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -185,7 +185,7 @@ public readonly int BindResourceByName(string pName, uint uDstSlot, uint uCount) int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, pNamePtr, uDstSlot, uCount); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -226,7 +226,7 @@ public readonly int BindSamplerByName(string pName, uint uDstSlot, uint uCount) int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pNamePtr, uDstSlot, uCount); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -267,7 +267,7 @@ public readonly int BindUnorderedAccessViewByName(string pName, uint uDstSlot, u int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, uDstSlot, uCount); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -308,7 +308,7 @@ public readonly int BindResourceAsUnorderedAccessViewByName(string pSrvName, uin int ret = default; var pSrvNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pSrvName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[12])(@this, pSrvNamePtr, uDstUavSlot, uCount); - Marshal.FreeHGlobal((IntPtr)pSrvNamePtr); + Marshal.FreeHGlobal((nint)pSrvNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflection.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflection.gen.cs index 3d4022ab1c..87e7805a8d 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflection.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflection.gen.cs @@ -165,7 +165,7 @@ public readonly int GetDesc(ref ShaderDesc pDesc) ID3D11ShaderReflectionConstantBuffer* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -281,7 +281,7 @@ public readonly int GetPatchConstantParameterDesc(uint ParameterIndex, ref Signa ID3D11ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -340,7 +340,7 @@ public readonly unsafe int GetResourceBindingDescByName(string Name, ShaderInput int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, NamePtr, pDesc); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -354,7 +354,7 @@ public readonly int GetResourceBindingDescByName(string Name, ref ShaderInputBin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, NamePtr, pDescPtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionConstantBuffer.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionConstantBuffer.gen.cs index 7ded737bd7..dec45b7f4e 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionConstantBuffer.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionConstantBuffer.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref ShaderBufferDesc pDesc) ID3D11ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionType.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionType.gen.cs index 442d9f1035..a7136ac46d 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionType.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3D11ShaderReflectionType.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref ShaderTypeDesc pDesc) ID3D11ShaderReflectionType* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3DUserDefinedAnnotation.gen.cs b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3DUserDefinedAnnotation.gen.cs index 9d9963f6b2..c8ab42889a 100644 --- a/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3DUserDefinedAnnotation.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D11/Structs/ID3DUserDefinedAnnotation.gen.cs @@ -135,7 +135,7 @@ public readonly int BeginEvent(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -171,7 +171,7 @@ public readonly void SetMarker(string Name) var @this = (ID3DUserDefinedAnnotation*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } /// To be documented. diff --git a/src/Microsoft/Silk.NET.Direct3D12/Enums/DredAllocationType.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Enums/DredAllocationType.gen.cs index 832edfd0bf..1863321a4e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Enums/DredAllocationType.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Enums/DredAllocationType.gen.cs @@ -67,6 +67,6 @@ public enum DredAllocationType : int [NativeName("Name", "D3D12_DRED_ALLOCATION_TYPE_VIDEO_EXTENSION_COMMAND")] DredAllocationTypeVideoExtensionCommand = 0x2F, [NativeName("Name", "D3D12_DRED_ALLOCATION_TYPE_INVALID")] - DredAllocationTypeInvalid = unchecked((int)0xFFFFFFFFFFFFFFFF), + DredAllocationTypeInvalid = unchecked((int) 0xFFFFFFFFFFFFFFFF), } } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Enums/ResidencyPriority.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Enums/ResidencyPriority.gen.cs index 84623269c2..7571b36caf 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Enums/ResidencyPriority.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Enums/ResidencyPriority.gen.cs @@ -21,8 +21,8 @@ public enum ResidencyPriority : int [NativeName("Name", "D3D12_RESIDENCY_PRIORITY_NORMAL")] ResidencyPriorityNormal = 0x78000000, [NativeName("Name", "D3D12_RESIDENCY_PRIORITY_HIGH")] - ResidencyPriorityHigh = unchecked((int)0xFFFFFFFFA0010000), + ResidencyPriorityHigh = unchecked((int) 0xFFFFFFFFA0010000), [NativeName("Name", "D3D12_RESIDENCY_PRIORITY_MAXIMUM")] - ResidencyPriorityMaximum = unchecked((int)0xFFFFFFFFC8000000), + ResidencyPriorityMaximum = unchecked((int) 0xFFFFFFFFC8000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessAutoProcessingFlags.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessAutoProcessingFlags.gen.cs index 2aa8b6ee79..fcf07f29a3 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessAutoProcessingFlags.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessAutoProcessingFlags.gen.cs @@ -33,6 +33,6 @@ public enum VideoProcessAutoProcessingFlags : int [NativeName("Name", "D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_ANAMORPHIC_SCALING")] VideoProcessAutoProcessingFlagAnamorphicScaling = 0x80, [NativeName("Name", "D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM")] - VideoProcessAutoProcessingFlagCustom = unchecked((int)0xFFFFFFFF80000000), + VideoProcessAutoProcessingFlagCustom = unchecked((int) 0xFFFFFFFF80000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessDeinterlaceFlags.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessDeinterlaceFlags.gen.cs index 0b008a5316..2d56a3418e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessDeinterlaceFlags.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Enums/VideoProcessDeinterlaceFlags.gen.cs @@ -19,6 +19,6 @@ public enum VideoProcessDeinterlaceFlags : int [NativeName("Name", "D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_BOB")] VideoProcessDeinterlaceFlagBob = 0x1, [NativeName("Name", "D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM")] - VideoProcessDeinterlaceFlagCustom = unchecked((int)0xFFFFFFFF80000000), + VideoProcessDeinterlaceFlagCustom = unchecked((int) 0xFFFFFFFF80000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandAllocator.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandAllocator.gen.cs index 3e77caf01e..bb5b2f906b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandAllocator.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandAllocator.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandList.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandList.gen.cs index fb283f417e..9cd850d14d 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandList.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandList.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandQueue.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandQueue.gen.cs index 9aed8914f7..8127d36d89 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandQueue.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandQueue.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandSignature.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandSignature.gen.cs index 30f8853ab1..e9e3bd6155 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandSignature.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12CommandSignature.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DescriptorHeap.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DescriptorHeap.gen.cs index 4b98fb0d57..22865f5fe0 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DescriptorHeap.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DescriptorHeap.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device.gen.cs index 53b9b73b5f..26baf0f854 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device.gen.cs @@ -342,7 +342,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3163,7 +3163,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3177,7 +3177,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3250,7 +3250,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3267,7 +3267,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3341,7 +3341,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3358,7 +3358,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3446,7 +3446,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3466,7 +3466,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3635,7 +3635,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3649,7 +3649,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device1.gen.cs index 5c7f71554b..c69dcbf04f 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device1.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3166,7 +3166,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3180,7 +3180,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3253,7 +3253,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3270,7 +3270,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3344,7 +3344,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3361,7 +3361,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3449,7 +3449,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3469,7 +3469,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3638,7 +3638,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3652,7 +3652,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device2.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device2.gen.cs index d8aee1c448..41c383dabb 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device2.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3169,7 +3169,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3183,7 +3183,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3256,7 +3256,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3273,7 +3273,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3347,7 +3347,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3364,7 +3364,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3452,7 +3452,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3472,7 +3472,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3641,7 +3641,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3655,7 +3655,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device3.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device3.gen.cs index 882c2ada82..53c9d30356 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device3.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device3.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3172,7 +3172,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3186,7 +3186,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3259,7 +3259,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3276,7 +3276,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3350,7 +3350,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3367,7 +3367,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3455,7 +3455,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3475,7 +3475,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3644,7 +3644,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3658,7 +3658,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device4.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device4.gen.cs index 2e6a7f3161..1a68aa0362 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device4.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device4.gen.cs @@ -354,7 +354,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3175,7 +3175,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3189,7 +3189,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3262,7 +3262,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3279,7 +3279,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3353,7 +3353,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3370,7 +3370,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3458,7 +3458,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3478,7 +3478,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3647,7 +3647,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3661,7 +3661,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device5.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device5.gen.cs index ba11480172..2d769a1c6b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device5.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device5.gen.cs @@ -357,7 +357,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3178,7 +3178,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3192,7 +3192,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3265,7 +3265,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3282,7 +3282,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3356,7 +3356,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3373,7 +3373,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3461,7 +3461,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3481,7 +3481,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3650,7 +3650,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3664,7 +3664,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device6.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device6.gen.cs index 3d0b861a1f..eead2d4999 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device6.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device6.gen.cs @@ -360,7 +360,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3181,7 +3181,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3195,7 +3195,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3268,7 +3268,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3285,7 +3285,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3359,7 +3359,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3376,7 +3376,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3464,7 +3464,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3484,7 +3484,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3653,7 +3653,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3667,7 +3667,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device7.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device7.gen.cs index d7cf47c845..db0fb44ad1 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device7.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device7.gen.cs @@ -363,7 +363,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3184,7 +3184,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3198,7 +3198,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3271,7 +3271,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3288,7 +3288,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3362,7 +3362,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3379,7 +3379,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3467,7 +3467,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3487,7 +3487,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3656,7 +3656,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3670,7 +3670,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device8.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device8.gen.cs index 2ecd189e8d..719a6d95c5 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device8.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Device8.gen.cs @@ -366,7 +366,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3187,7 +3187,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3201,7 +3201,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, Silk.N { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3274,7 +3274,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3291,7 +3291,7 @@ public readonly unsafe int CreateSharedHandle(ID3D12DeviceChild* pObject, ref Si { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObject, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3365,7 +3365,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3382,7 +3382,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, Sil { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributes, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } return ret; } @@ -3470,7 +3470,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3490,7 +3490,7 @@ public readonly unsafe int CreateSharedHandle(ref ID3D12DeviceChild pObject, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[31])(@this, pObjectPtr, pAttributesPtr, Access, NamePtr, pHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); } } return ret; @@ -3659,7 +3659,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, void int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandle); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -3673,7 +3673,7 @@ public readonly unsafe int OpenSharedHandleByName(string Name, uint Access, ref { ret = ((delegate* unmanaged[Cdecl])LpVtbl[33])(@this, NamePtr, Access, pNTHandlePtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DeviceChild.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DeviceChild.gen.cs index 3a017635fb..891dce299b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DeviceChild.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12DeviceChild.gen.cs @@ -342,7 +342,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence.gen.cs index 324a1300c2..c5ff35573d 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence1.gen.cs index 392d9dd28f..412700ac0a 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Fence1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12FunctionReflection.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12FunctionReflection.gen.cs index ded7e54bee..ab7cc731d2 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12FunctionReflection.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12FunctionReflection.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref FunctionDesc pDesc) ID3D12ShaderReflectionConstantBuffer* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -149,7 +149,7 @@ public readonly int GetResourceBindingDesc(uint ResourceIndex, ref ShaderInputBi ID3D12ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -208,7 +208,7 @@ public readonly unsafe int GetResourceBindingDescByName(string Name, ShaderInput int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr, pDesc); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -222,7 +222,7 @@ public readonly int GetResourceBindingDescByName(string Name, ref ShaderInputBin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr, pDescPtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList.gen.cs index a04ae3bd04..673dc27915 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList1.gen.cs index 6f90d62f7a..f199228688 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList2.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList2.gen.cs index 56a1ace4c9..08024f558c 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList2.gen.cs @@ -354,7 +354,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList3.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList3.gen.cs index 77100895ed..df0fc6a0e3 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList3.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList3.gen.cs @@ -357,7 +357,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList4.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList4.gen.cs index 66284cb7df..5f44d7a3ca 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList4.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList4.gen.cs @@ -360,7 +360,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList5.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList5.gen.cs index 795153f7ee..536381979e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList5.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList5.gen.cs @@ -363,7 +363,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList6.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList6.gen.cs index e442dd3b9b..f48e735087 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList6.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList6.gen.cs @@ -366,7 +366,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap.gen.cs index 7ebb9f6401..75c7477169 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap1.gen.cs index 0aee42e2a4..515e9b2f04 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Heap1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12InfoQueue.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12InfoQueue.gen.cs index 1a485be585..0c745dc9cb 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12InfoQueue.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12InfoQueue.gen.cs @@ -515,7 +515,7 @@ public readonly int AddMessage(MessageCategory Category, MessageSeverity Severit int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[28])(@this, Category, Severity, ID, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } @@ -547,7 +547,7 @@ public readonly int AddApplicationMessage(MessageSeverity Severity, string pDesc int ret = default; var pDescriptionPtr = (byte*) Marshal.StringToHGlobalAnsi(pDescription); ret = ((delegate* unmanaged[Cdecl])LpVtbl[29])(@this, Severity, pDescriptionPtr); - Marshal.FreeHGlobal((IntPtr)pDescriptionPtr); + Marshal.FreeHGlobal((nint)pDescriptionPtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12LifetimeTracker.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12LifetimeTracker.gen.cs index 0a9b647e7a..cc1fbe6f03 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12LifetimeTracker.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12LifetimeTracker.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12MetaCommand.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12MetaCommand.gen.cs index c7811bccd1..b676e24abc 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12MetaCommand.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12MetaCommand.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Object.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Object.gen.cs index 6d3edf14c8..4d9886afa1 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Object.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Object.gen.cs @@ -339,7 +339,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Pageable.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Pageable.gen.cs index eb7e1a4851..f483c4ebe6 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Pageable.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Pageable.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary.gen.cs index 887b9f0a59..ceea51f44a 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -452,7 +452,7 @@ public readonly unsafe int StorePipeline(string pName, ID3D12PipelineState* pPip int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pNamePtr, pPipeline); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -466,7 +466,7 @@ public readonly int StorePipeline(string pName, ref ID3D12PipelineState pPipelin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pNamePtr, pPipelinePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -717,7 +717,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riid, ppPipelineState); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -731,7 +731,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riid, ppPipelineStatePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -745,7 +745,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riidPtr, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -762,7 +762,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riidPtr, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -776,7 +776,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riid, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -793,7 +793,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riid, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -810,7 +810,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riidPtr, ppPipelineState); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -830,7 +830,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli } } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1081,7 +1081,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riid, ppPipelineState); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1095,7 +1095,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riid, ppPipelineStatePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1109,7 +1109,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riidPtr, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1126,7 +1126,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riidPtr, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1140,7 +1140,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riid, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1157,7 +1157,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riid, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1174,7 +1174,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riidPtr, ppPipelineState); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1194,7 +1194,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline } } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary1.gen.cs index 14eb282002..7256ad12dc 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineLibrary1.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -455,7 +455,7 @@ public readonly unsafe int StorePipeline(string pName, ID3D12PipelineState* pPip int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pNamePtr, pPipeline); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -469,7 +469,7 @@ public readonly int StorePipeline(string pName, ref ID3D12PipelineState pPipelin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[8])(@this, pNamePtr, pPipelinePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -720,7 +720,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riid, ppPipelineState); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -734,7 +734,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riid, ppPipelineStatePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -748,7 +748,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riidPtr, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -765,7 +765,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, GraphicsPipelineSt ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDesc, riidPtr, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -779,7 +779,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli { ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riid, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -796,7 +796,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riid, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -813,7 +813,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli ret = ((delegate* unmanaged[Cdecl])LpVtbl[9])(@this, pNamePtr, pDescPtr, riidPtr, ppPipelineState); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -833,7 +833,7 @@ public readonly unsafe int LoadGraphicsPipeline(string pName, ref GraphicsPipeli } } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1084,7 +1084,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riid, ppPipelineState); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1098,7 +1098,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riid, ppPipelineStatePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1112,7 +1112,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riidPtr, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1129,7 +1129,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ComputePipelineStat ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDesc, riidPtr, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1143,7 +1143,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline { ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riid, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1160,7 +1160,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riid, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1177,7 +1177,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, pNamePtr, pDescPtr, riidPtr, ppPipelineState); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1197,7 +1197,7 @@ public readonly unsafe int LoadComputePipeline(string pName, ref ComputePipeline } } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1478,7 +1478,7 @@ public readonly unsafe int LoadPipeline(string pName, PipelineStateStreamDesc* p int ret = default; var pNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDesc, riid, ppPipelineState); - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1492,7 +1492,7 @@ public readonly unsafe int LoadPipeline(string pName, PipelineStateStreamDesc* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDesc, riid, ppPipelineStatePtr); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1506,7 +1506,7 @@ public readonly unsafe int LoadPipeline(string pName, PipelineStateStreamDesc* p { ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDesc, riidPtr, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1523,7 +1523,7 @@ public readonly unsafe int LoadPipeline(string pName, PipelineStateStreamDesc* p ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDesc, riidPtr, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1537,7 +1537,7 @@ public readonly unsafe int LoadPipeline(string pName, ref PipelineStateStreamDes { ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDescPtr, riid, ppPipelineState); } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1554,7 +1554,7 @@ public readonly unsafe int LoadPipeline(string pName, ref PipelineStateStreamDes ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDescPtr, riid, ppPipelineStatePtr); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1571,7 +1571,7 @@ public readonly unsafe int LoadPipeline(string pName, ref PipelineStateStreamDes ret = ((delegate* unmanaged[Cdecl])LpVtbl[13])(@this, pNamePtr, pDescPtr, riidPtr, ppPipelineState); } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } @@ -1591,7 +1591,7 @@ public readonly unsafe int LoadPipeline(string pName, ref PipelineStateStreamDes } } } - Marshal.FreeHGlobal((IntPtr)pNamePtr); + Marshal.FreeHGlobal((nint)pNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineState.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineState.gen.cs index 2f58da32cc..854823cb07 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineState.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12PipelineState.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession.gen.cs index e343a72970..b2d2c7ac5e 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession1.gen.cs index c607b2c65e..eb192c55c4 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedResourceSession1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedSession.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedSession.gen.cs index 3291991683..f119229092 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedSession.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ProtectedSession.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12QueryHeap.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12QueryHeap.gen.cs index 8c074bb46d..249c67f093 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12QueryHeap.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12QueryHeap.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource.gen.cs index 7dd8505ead..5af4ada72a 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource1.gen.cs index 51d2e37059..96402cf0d0 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource2.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource2.gen.cs index 93ef4ff97b..92d6358420 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource2.gen.cs @@ -354,7 +354,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12RootSignature.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12RootSignature.gen.cs index 985dba9bcd..c283b6cc69 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12RootSignature.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12RootSignature.gen.cs @@ -345,7 +345,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflection.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflection.gen.cs index 39f3e029ac..e94e8719ac 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflection.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflection.gen.cs @@ -165,7 +165,7 @@ public readonly int GetDesc(ref ShaderDesc pDesc) ID3D12ShaderReflectionConstantBuffer* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[5])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -281,7 +281,7 @@ public readonly int GetPatchConstantParameterDesc(uint ParameterIndex, ref Signa ID3D12ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[10])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -340,7 +340,7 @@ public readonly unsafe int GetResourceBindingDescByName(string Name, ShaderInput int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, NamePtr, pDesc); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } @@ -354,7 +354,7 @@ public readonly int GetResourceBindingDescByName(string Name, ref ShaderInputBin { ret = ((delegate* unmanaged[Cdecl])LpVtbl[11])(@this, NamePtr, pDescPtr); } - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionConstantBuffer.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionConstantBuffer.gen.cs index 1546b42250..52f479f297 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionConstantBuffer.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionConstantBuffer.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref ShaderBufferDesc pDesc) ID3D12ShaderReflectionVariable* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionType.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionType.gen.cs index f73c3a23c0..d8cff862c6 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionType.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12ShaderReflectionType.gen.cs @@ -96,7 +96,7 @@ public readonly int GetDesc(ref ShaderTypeDesc pDesc) ID3D12ShaderReflectionType* ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[2])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12SharingContract.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12SharingContract.gen.cs index 1c6fb25b2b..0481613055 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12SharingContract.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12SharingContract.gen.cs @@ -108,19 +108,19 @@ public readonly uint Release() } /// To be documented. - public readonly unsafe void Present(ID3D12Resource* pResource, uint Subresource, IntPtr window) + public readonly unsafe void Present(ID3D12Resource* pResource, uint Subresource, nint window) { var @this = (ID3D12SharingContract*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); - ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pResource, Subresource, window); + ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pResource, Subresource, window); } /// To be documented. - public readonly void Present(ref ID3D12Resource pResource, uint Subresource, IntPtr window) + public readonly void Present(ref ID3D12Resource pResource, uint Subresource, nint window) { var @this = (ID3D12SharingContract*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); fixed (ID3D12Resource* pResourcePtr = &pResource) { - ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pResourcePtr, Subresource, window); + ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pResourcePtr, Subresource, window); } } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObject.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObject.gen.cs index c74a3e214d..dd7dd02e67 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObject.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObject.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObjectProperties.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObjectProperties.gen.cs index a7115677a5..1e5fdb9567 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObjectProperties.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12StateObjectProperties.gen.cs @@ -135,7 +135,7 @@ public readonly uint Release() void* ret = default; var pExportNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pExportName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[3])(@this, pExportNamePtr); - Marshal.FreeHGlobal((IntPtr)pExportNamePtr); + Marshal.FreeHGlobal((nint)pExportNamePtr); return ret; } @@ -167,7 +167,7 @@ public readonly ulong GetShaderStackSize(string pExportName) ulong ret = default; var pExportNamePtr = (byte*) Marshal.StringToHGlobalAnsi(pExportName); ret = ((delegate* unmanaged[Cdecl])LpVtbl[4])(@this, pExportNamePtr); - Marshal.FreeHGlobal((IntPtr)pExportNamePtr); + Marshal.FreeHGlobal((nint)pExportNamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList.gen.cs index 2649777149..6c8c48abe0 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList1.gen.cs index 7b5ed6e68f..4353e3581f 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList2.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList2.gen.cs index 84755e5a3c..3e59c067fc 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecodeCommandList2.gen.cs @@ -354,7 +354,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder.gen.cs index f4bb06247b..af66e3b375 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder1.gen.cs index 0481d77177..7041b294ed 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoder1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap.gen.cs index 4b3a711d8c..cc298caf41 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap1.gen.cs index 30b73a5cc6..c7f307b340 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoDecoderHeap1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList.gen.cs index 7ea40036af..6ca8123a46 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList1.gen.cs index 14f9c6c34d..605140faff 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoEncodeCommandList1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoExtensionCommand.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoExtensionCommand.gen.cs index 03609bad4d..bf1698f192 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoExtensionCommand.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoExtensionCommand.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionEstimator.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionEstimator.gen.cs index d349af716b..93877cd255 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionEstimator.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionEstimator.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionVectorHeap.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionVectorHeap.gen.cs index dca1892be2..3b097efb35 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionVectorHeap.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoMotionVectorHeap.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList.gen.cs index 252cb888fa..44f9d7e86b 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList1.gen.cs index 0913c515d1..beea02888f 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList2.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList2.gen.cs index c0e4a76df7..da21ca26f7 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList2.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessCommandList2.gen.cs @@ -354,7 +354,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor.gen.cs index f9b8724505..1d998b6053 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor.gen.cs @@ -348,7 +348,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor1.gen.cs b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor1.gen.cs index 01b824d78e..9515dd8975 100644 --- a/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor1.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12VideoProcessor1.gen.cs @@ -351,7 +351,7 @@ public readonly int SetName(string Name) int ret = default; var NamePtr = (byte*) Marshal.StringToHGlobalAnsi(Name); ret = ((delegate* unmanaged[Cdecl])LpVtbl[6])(@this, NamePtr); - Marshal.FreeHGlobal((IntPtr)NamePtr); + Marshal.FreeHGlobal((nint)NamePtr); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Enums/Bustype.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Enums/Bustype.gen.cs index 85033c550c..cfd3ba2c37 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Enums/Bustype.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Enums/Bustype.gen.cs @@ -35,6 +35,6 @@ public enum Bustype : int [NativeName("Name", "D3DBUSIMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE")] BusimplModifierDaughterBoardConnectorInsideOfNuae = 0x50000, [NativeName("Name", "D3DBUSIMPL_MODIFIER_NON_STANDARD")] - BusimplModifierNonStandard = unchecked((int)0xFFFFFFFF80000000), + BusimplModifierNonStandard = unchecked((int) 0xFFFFFFFF80000000), } } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/DeviceCreationParameters.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/DeviceCreationParameters.gen.cs index 6c98719cf4..76ae2765c3 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/DeviceCreationParameters.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/DeviceCreationParameters.gen.cs @@ -25,7 +25,7 @@ public DeviceCreationParameters ( uint? adapterOrdinal = null, Devtype? deviceType = null, - IntPtr? hFocusWindow = null, + nint? hFocusWindow = null, uint? behaviorFlags = null ) : this() { @@ -64,7 +64,7 @@ public DeviceCreationParameters [NativeName("Type", "HWND")] [NativeName("Type.Name", "HWND")] [NativeName("Name", "hFocusWindow")] - public IntPtr HFocusWindow; + public nint HFocusWindow; [NativeName("Type", "DWORD")] [NativeName("Type.Name", "DWORD")] diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs index 2883bf978f..77eed6740c 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3D9.gen.cs @@ -299,49 +299,49 @@ public readonly int GetDeviceCaps(uint Adapter, Devtype DeviceType, ref Caps9 pC } /// To be documented. - public readonly IntPtr GetAdapterMonitor(uint Adapter) + public readonly nint GetAdapterMonitor(uint Adapter) { var @this = (IDirect3D9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); - IntPtr ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, Adapter); + 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, IntPtr hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) { var @this = (IDirect3D9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, ppReturnedDeviceInterface); + 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, IntPtr hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, PresentParameters* pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) { var @this = (IDirect3D9*) 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); + 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, IntPtr hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface) { var @this = (IDirect3D9*) 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); + 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, IntPtr hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) + public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, nint hFocusWindow, uint BehaviorFlags, ref PresentParameters pPresentationParameters, ref IDirect3DDevice9* ppReturnedDeviceInterface) { var @this = (IDirect3D9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -349,7 +349,7 @@ public readonly unsafe int CreateDevice(uint Adapter, Devtype DeviceType, IntPtr { fixed (IDirect3DDevice9** ppReturnedDeviceInterfacePtr = &ppReturnedDeviceInterface) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, ppReturnedDeviceInterfacePtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParametersPtr, ppReturnedDeviceInterfacePtr); } } return ret; diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs index 8068b02bbc..1d472e969c 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DDevice9.gen.cs @@ -707,40 +707,40 @@ public readonly int Reset(ref PresentParameters pPresentationParameters) } /// To be documented. - public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, IntPtr hDestWindowOverride, RGNData* pDirtyRegion) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegionPtr); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) { var @this = (IDirect3DDevice9*) 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*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegion); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -748,26 +748,26 @@ public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion) + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) { var @this = (IDirect3DDevice9*) 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*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegion); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion) + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -775,14 +775,14 @@ public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRec { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegionPtr); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion) + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -790,14 +790,14 @@ public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRec { fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegion); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion) + public readonly int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion) { var @this = (IDirect3DDevice9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -807,7 +807,7 @@ public readonly int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr); + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, int>)LpVtbl[17])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr); } } } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs index 645873487a..00b088a027 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSurface9.gen.cs @@ -590,32 +590,32 @@ public readonly int UnlockRect() } /// To be documented. - public readonly unsafe int GetDC(IntPtr* phdc) + public readonly unsafe int GetDC(nint* phdc) { var @this = (IDirect3DSurface9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, phdc); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, phdc); return ret; } /// To be documented. - public readonly int GetDC(ref IntPtr phdc) + public readonly int GetDC(ref nint phdc) { var @this = (IDirect3DSurface9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - fixed (IntPtr* phdcPtr = &phdc) + fixed (nint* phdcPtr = &phdc) { - ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, phdcPtr); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[15])(@this, phdcPtr); } return ret; } /// To be documented. - public readonly int ReleaseDC(IntPtr hdc) + public readonly int ReleaseDC(nint hdc) { var @this = (IDirect3DSurface9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, hdc); + ret = ((delegate* unmanaged[Cdecl])LpVtbl[16])(@this, hdc); return ret; } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs index 1094ee01e1..d91fb2ab22 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/IDirect3DSwapChain9.gen.cs @@ -130,40 +130,40 @@ public readonly uint Release() } /// To be documented. - public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, IntPtr hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) { var @this = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) { var @this = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, ref Silk.NET.Maths.Rectangle pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) { var @this = (IDirect3DSwapChain9*) 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*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + 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 = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -171,26 +171,26 @@ public readonly unsafe int Present(Silk.NET.Maths.Rectangle* pSourceRect, { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRect, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRect, Silk.NET.Maths.Rectangle* pDestRect, nint hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) { var @this = (IDirect3DSwapChain9*) 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*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegion, dwFlags); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + 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 = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -198,14 +198,14 @@ public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRec { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRect, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + 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, IntPtr hDestWindowOverride, RGNData* pDirtyRegion, uint dwFlags) + 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 = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -213,14 +213,14 @@ public readonly unsafe int Present(ref Silk.NET.Maths.Rectangle pSourceRec { fixed (Silk.NET.Maths.Rectangle* pDestRectPtr = &pDestRect) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegion, dwFlags); + 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, IntPtr hDestWindowOverride, ref RGNData pDirtyRegion, uint dwFlags) + 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 = (IDirect3DSwapChain9*) Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; @@ -230,7 +230,7 @@ public readonly int Present(ref Silk.NET.Maths.Rectangle pSourceRect, ref { fixed (RGNData* pDirtyRegionPtr = &pDirtyRegion) { - ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, IntPtr, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); + ret = ((delegate* unmanaged[Cdecl]*, Silk.NET.Maths.Rectangle*, nint, RGNData*, uint, int>)LpVtbl[3])(@this, pSourceRectPtr, pDestRectPtr, hDestWindowOverride, pDirtyRegionPtr, dwFlags); } } } diff --git a/src/Microsoft/Silk.NET.Direct3D9/Structs/PresentParameters.gen.cs b/src/Microsoft/Silk.NET.Direct3D9/Structs/PresentParameters.gen.cs index ceba067759..d49249df5e 100644 --- a/src/Microsoft/Silk.NET.Direct3D9/Structs/PresentParameters.gen.cs +++ b/src/Microsoft/Silk.NET.Direct3D9/Structs/PresentParameters.gen.cs @@ -30,7 +30,7 @@ public PresentParameters MultisampleType? multiSampleType = null, uint? multiSampleQuality = null, Swapeffect? swapEffect = null, - IntPtr? hDeviceWindow = null, + nint? hDeviceWindow = null, int? windowed = null, int? enableAutoDepthStencil = null, Format? autoDepthStencilFormat = null, @@ -149,7 +149,7 @@ public PresentParameters [NativeName("Type", "HWND")] [NativeName("Type.Name", "HWND")] [NativeName("Name", "hDeviceWindow")] - public IntPtr HDeviceWindow; + public nint HDeviceWindow; [NativeName("Type", "BOOL")] [NativeName("Type.Name", "BOOL")] diff --git a/src/Microsoft/Silk.NET.XAudio/Structs/IXAudio2.gen.cs b/src/Microsoft/Silk.NET.XAudio/Structs/IXAudio2.gen.cs index 2f09ea6e59..5651b9dafd 100644 --- a/src/Microsoft/Silk.NET.XAudio/Structs/IXAudio2.gen.cs +++ b/src/Microsoft/Silk.NET.XAudio/Structs/IXAudio2.gen.cs @@ -836,7 +836,7 @@ public readonly unsafe int CreateMasteringVoice(IXAudio2MasteringVoice** ppMaste int ret = default; var szDeviceIdPtr = (byte*) Marshal.StringToHGlobalAnsi(szDeviceId); ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, ppMasteringVoice, InputChannels, InputSampleRate, Flags, szDeviceIdPtr, pEffectChain, StreamCategory); - Marshal.FreeHGlobal((IntPtr)szDeviceIdPtr); + Marshal.FreeHGlobal((nint)szDeviceIdPtr); return ret; } @@ -850,7 +850,7 @@ public readonly unsafe int CreateMasteringVoice(IXAudio2MasteringVoice** ppMaste { ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, ppMasteringVoice, InputChannels, InputSampleRate, Flags, szDeviceIdPtr, pEffectChainPtr, StreamCategory); } - Marshal.FreeHGlobal((IntPtr)szDeviceIdPtr); + Marshal.FreeHGlobal((nint)szDeviceIdPtr); return ret; } @@ -923,7 +923,7 @@ public readonly unsafe int CreateMasteringVoice(ref IXAudio2MasteringVoice* ppMa { var szDeviceIdPtr = (byte*) Marshal.StringToHGlobalAnsi(szDeviceId); ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, ppMasteringVoicePtr, InputChannels, InputSampleRate, Flags, szDeviceIdPtr, pEffectChain, StreamCategory); - Marshal.FreeHGlobal((IntPtr)szDeviceIdPtr); + Marshal.FreeHGlobal((nint)szDeviceIdPtr); } return ret; } @@ -940,7 +940,7 @@ public readonly unsafe int CreateMasteringVoice(ref IXAudio2MasteringVoice* ppMa { ret = ((delegate* unmanaged[Cdecl])LpVtbl[7])(@this, ppMasteringVoicePtr, InputChannels, InputSampleRate, Flags, szDeviceIdPtr, pEffectChainPtr, StreamCategory); } - Marshal.FreeHGlobal((IntPtr)szDeviceIdPtr); + Marshal.FreeHGlobal((nint)szDeviceIdPtr); } return ret; } diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EffectExtensionContext.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EffectExtensionContext.cs index b94cea470c..a9a633b2f0 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EffectExtensionContext.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EffectExtensionContext.cs @@ -25,7 +25,7 @@ protected EffectExtensionContext(INativeContext ctx) /// [NativeApi(EntryPoint = "GetIntegerv")] - public unsafe partial void GetContextProperty(IntPtr device, EFXContextInteger param, int size, int* data); + public unsafe partial void GetContextProperty(nint device, EFXContextInteger param, int size, int* data); /// [NativeApi(EntryPoint = "GetIntegerv")] @@ -36,7 +36,7 @@ protected EffectExtensionContext(INativeContext ctx) /// /// The device that the context is on. /// The major version. - public int GetEFXMajorVersion(IntPtr device) + public int GetEFXMajorVersion(nint device) { unsafe { @@ -52,7 +52,7 @@ public int GetEFXMajorVersion(IntPtr device) /// /// The device that the context is on. /// The minor version. - public int GetEFXMinorVersion(IntPtr device) + public int GetEFXMinorVersion(nint device) { unsafe { @@ -68,7 +68,7 @@ public int GetEFXMinorVersion(IntPtr device) /// /// The device that the context is on. /// The version. - public Version GetEFXVersion(IntPtr device) + public Version GetEFXVersion(nint device) { return new Version(GetEFXMajorVersion(device), GetEFXMinorVersion(device)); } diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EnumerateAll.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EnumerateAll.cs index b2dfbca110..ff75c3ae3b 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EnumerateAll.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/EnumerateAll.cs @@ -47,7 +47,7 @@ public IEnumerable GetStringList(GetEnumerateAllContextStringList param) var currentPos = result; while (true) { - var currentString = Marshal.PtrToStringAnsi(new IntPtr(currentPos)); + var currentString = Marshal.PtrToStringAnsi((nint) currentPos); if (string.IsNullOrEmpty(currentString)) { break; diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/XRam.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/XRam.cs index 49ae425ef8..0990c20115 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/XRam.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Creative/XRam.cs @@ -47,7 +47,7 @@ protected XRam(INativeContext ctx) public partial bool SetBufferMode(int count, ReadOnlySpan buffers, int mode); /// - public partial int GetBufferMode(uint buffer, IntPtr reserved); + public partial int GetBufferMode(uint buffer, nint reserved); /// public int GetInteger(XRamGetInteger param) @@ -202,7 +202,7 @@ private BufferStorageMode GetEnumForValue(int value) [return: UnmanagedType(UnmanagedType.I4)] public partial bool IsExtensionPresent(string name); - public partial IntPtr GetProcAddress(string name); + public partial nint GetProcAddress(string name); public partial int GetEnumValue(string name); } } diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.EXT/CaptureEnumerationEnumeration.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.EXT/CaptureEnumerationEnumeration.cs index 98c2b0fa80..481ddb3508 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.EXT/CaptureEnumerationEnumeration.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.EXT/CaptureEnumerationEnumeration.cs @@ -48,7 +48,7 @@ public IEnumerable GetStringList(GetCaptureContextStringList param) var currentPos = result; while (true) { - var currentString = Marshal.PtrToStringAnsi(new IntPtr(currentPos)); + var currentString = Marshal.PtrToStringAnsi((nint) currentPos); if (string.IsNullOrEmpty(currentString)) { break; diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Enumeration/Enumeration.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Enumeration/Enumeration.cs index 22e2183738..3de9a72129 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Enumeration/Enumeration.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Enumeration/Enumeration.cs @@ -47,7 +47,7 @@ public IEnumerable GetStringList(GetEnumerationContextStringList param) var currentPos = result; while (true) { - var currentString = Marshal.PtrToStringAnsi(new IntPtr(currentPos)); + var currentString = Marshal.PtrToStringAnsi((nint) currentPos); if (string.IsNullOrEmpty(currentString)) { break; diff --git a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Soft/Soft.cs b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Soft/Soft.cs index 80066f3c74..6d2f5afa57 100644 --- a/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Soft/Soft.cs +++ b/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Soft/Soft.cs @@ -34,6 +34,6 @@ protected Soft(INativeContext ctx) public partial int GetInteger(SoftStateInteger param); /// - public partial IntPtr GetPointer(StatePointer param); + public partial nint GetPointer(StatePointer param); } } diff --git a/src/OpenAL/Silk.NET.OpenAL/AL/AL.cs b/src/OpenAL/Silk.NET.OpenAL/AL/AL.cs index b62ec06518..963f902346 100644 --- a/src/OpenAL/Silk.NET.OpenAL/AL/AL.cs +++ b/src/OpenAL/Silk.NET.OpenAL/AL/AL.cs @@ -32,7 +32,7 @@ protected AL(INativeContext ctx) public SearchPathContainer SearchPaths { get; } = new OpenALLibraryNameContainer(); /// - public partial IntPtr GetProcAddress(string name); + public partial nint GetProcAddress(string name); /// public partial int GetEnumValue(string name); diff --git a/src/OpenAL/Silk.NET.OpenAL/ALC/ALContext.cs b/src/OpenAL/Silk.NET.OpenAL/ALC/ALContext.cs index dcafc1c281..711a10e726 100644 --- a/src/OpenAL/Silk.NET.OpenAL/ALC/ALContext.cs +++ b/src/OpenAL/Silk.NET.OpenAL/ALC/ALContext.cs @@ -73,7 +73,7 @@ public override unsafe bool IsExtensionPresent(string name) /// [NativeApi(EntryPoint = "GetIntegerv")] - public unsafe partial void GetContextProperty(Device* device, GetContextInteger param, int count, IntPtr data); + public unsafe partial void GetContextProperty(Device* device, GetContextInteger param, int count, nint data); /// [NativeApi(EntryPoint = "GetIntegerv")] @@ -98,7 +98,7 @@ public static unsafe ALContext GetApi() return default; } - return (IntPtr) ret.GetProcAddress(ret.GetContextsDevice(ret.GetCurrentContext()), x); + return (nint) ret.GetProcAddress(ret.GetContextsDevice(ret.GetCurrentContext()), x); }); return ret; } @@ -116,13 +116,13 @@ public unsafe TContextExtension GetExtension(Device* device) } /// - public unsafe IntPtr CreateContextHandle(Device* device, int* attributeList) + public unsafe nint CreateContextHandle(Device* device, int* attributeList) { - return new IntPtr(CreateContext(device, attributeList)); + return (nint)CreateContext(device, attributeList); } /// - public bool MakeContextCurrent(IntPtr context) + public bool MakeContextCurrent(nint context) { unsafe { @@ -131,11 +131,11 @@ public bool MakeContextCurrent(IntPtr context) } /// - public IntPtr GetCurrentContextHandle() + public nint GetCurrentContextHandle() { unsafe { - return new IntPtr(GetCurrentContext()); + return (nint)GetCurrentContext(); } } } diff --git a/src/OpenAL/Silk.NET.OpenAL/AudioContext.cs b/src/OpenAL/Silk.NET.OpenAL/AudioContext.cs index ff6701efed..124096c216 100644 --- a/src/OpenAL/Silk.NET.OpenAL/AudioContext.cs +++ b/src/OpenAL/Silk.NET.OpenAL/AudioContext.cs @@ -20,11 +20,11 @@ public sealed class AudioContext : IDisposable private static readonly object AudioContextLock = new object(); - private static readonly Dictionary AvailableContexts = - new Dictionary(); + private static readonly Dictionary AvailableContexts = + new Dictionary(); private bool _contextExists; - private IntPtr _contextHandle; + private nint _contextHandle; private string _deviceName; private bool _disposed; @@ -270,7 +270,7 @@ public void Dispose() IsCurrent = false; } - if (_contextHandle != IntPtr.Zero) + if (_contextHandle != 0) { AvailableContexts.Remove(_contextHandle); @@ -309,7 +309,7 @@ private static void MakeCurrent(AudioContext context) { unsafe { - var contextHandle = context?._contextHandle ?? IntPtr.Zero; + var contextHandle = context?._contextHandle ?? 0; if (ContextAPI.MakeContextCurrent(contextHandle)) { @@ -456,7 +456,7 @@ IEnumerable attributes _contextHandle = ContextAPI.CreateContextHandle(Device, ptr); } - if (_contextHandle == IntPtr.Zero) + if (_contextHandle == 0) { ContextAPI.CloseDevice(Device); throw new AudioContextException diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctions.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctions.gen.cs index e74010942b..a76e361df7 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctions.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctions.gen.cs @@ -23,112 +23,112 @@ public unsafe partial class AppleContextLoggingFunctions : NativeExtension { public const string ExtensionName = "APPLE_ContextLoggingFunctions"; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToStderr([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStderrAPPLE")] - public partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToStderr([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToStdout([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToStdoutAPPLE")] - public partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToStdout([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] in byte errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; + public unsafe partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clLogMessagesToSystemLogAPPLE")] - public partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; + public partial void LogMessagesToSystemLog([Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] in T0 private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] out T1 user_data) where T0 : unmanaged where T1 : unmanaged; public AppleContextLoggingFunctions(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctionsOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctionsOverloads.gen.cs index d21e3f2105..dd547e8498 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctionsOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleContextLoggingFunctionsOverloads.gen.cs @@ -18,181 +18,181 @@ namespace Silk.NET.OpenCL.Extensions.APPLE { public static class AppleContextLoggingFunctionsOverloads { - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader thisApi.LogMessagesToStderr(in errstr.GetPinnableReference(), private_info, cb, user_data); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(in errstr.GetPinnableReference(), private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStderr(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStderr(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader thisApi.LogMessagesToStdout(in errstr.GetPinnableReference(), private_info, cb, user_data); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(in errstr.GetPinnableReference(), private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToStdout(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToStdout(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] byte* errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader thisApi.LogMessagesToSystemLog(in errstr.GetPinnableReference(), private_info, cb, user_data); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(in errstr.GetPinnableReference(), private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] ReadOnlySpan errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(in errstr.GetPinnableReference(), in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] void* private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, private_info, cb, out user_data.GetPinnableReference()); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] void* user_data) where T0 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, in private_info.GetPinnableReference(), cb, user_data); } - public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] UIntPtr cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged + public static unsafe void LogMessagesToSystemLog(this AppleContextLoggingFunctions thisApi, [Flow(FlowDirection.In)] string errstr, [Flow(FlowDirection.In)] ReadOnlySpan private_info, [Flow(FlowDirection.In)] nuint cb, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader thisApi.LogMessagesToSystemLog(errstr, in private_info.GetPinnableReference(), cb, out user_data.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructor.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructor.gen.cs index fddf1b5cf4..5b2691ad0f 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructor.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructor.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class AppleSetMemObjectDestructor : NativeExtension { public const string ExtensionName = "APPLE_SetMemObjectDestructor"; [NativeApi(EntryPoint = "clSetMemObjectDestructorAPPLE")] - public unsafe partial int SetMemObjectDestructor([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int SetMemObjectDestructor([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clSetMemObjectDestructorAPPLE")] - public partial int SetMemObjectDestructor([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int SetMemObjectDestructor([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; public AppleSetMemObjectDestructor(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructorOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructorOverloads.gen.cs index cf306385a7..de101cd328 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructorOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.APPLE/AppleSetMemObjectDestructorOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenCL.Extensions.APPLE { public static class AppleSetMemObjectDestructorOverloads { - public static unsafe int SetMemObjectDestructor(this AppleSetMemObjectDestructor thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int SetMemObjectDestructor(this AppleSetMemObjectDestructor thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.SetMemObjectDestructor(memobj, pfn_notify, out user_data.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemory.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemory.gen.cs index da1129142c..c05c8c9008 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemory.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemory.gen.cs @@ -23,28 +23,28 @@ public unsafe partial class ArmImportMemory : NativeExtension { public const string ExtensionName = "ARM_import_memory"; [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clImportMemoryARM")] - public unsafe partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clImportMemoryARM")] - public partial IntPtr ImportMemory([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint ImportMemory([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] out T0 memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; public ArmImportMemory(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemoryOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemoryOverloads.gen.cs index abb1b82350..4e36f0a4a8 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemoryOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmImportMemoryOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.ARM { public static class ArmImportMemoryOverloads { - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.ImportMemory(context, flags, properties, memory, size, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.ImportMemory(context, flags, properties, out memory.GetPinnableReference(), size, errcode_ret); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.ImportMemory(context, flags, properties, out memory.GetPinnableReference(), size, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.ImportMemory(context, flags, in properties.GetPinnableReference(), memory, size, errcode_ret); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] void* memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.ImportMemory(context, flags, in properties.GetPinnableReference(), memory, size, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.ImportMemory(context, flags, in properties.GetPinnableReference(), out memory.GetPinnableReference(), size, errcode_ret); } - public static unsafe IntPtr ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint ImportMemory(this ArmImportMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span memory, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.ImportMemory(context, flags, in properties.GetPinnableReference(), out memory.GetPinnableReference(), size, out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemory.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemory.gen.cs index 90fbc8343b..d1cba0ea5e 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemory.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemory.gen.cs @@ -23,217 +23,217 @@ public unsafe partial class ArmSharedVirtualMemory : NativeExtension { public const string ExtensionName = "ARM_shared_virtual_memory"; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFreeARM")] - public partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMapARM")] - public partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpyARM")] - public partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFillARM")] - public partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmapARM")] - public partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetKernelArgSVMPointerARM")] - public unsafe partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); + public unsafe partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); [NativeApi(EntryPoint = "clSetKernelArgSVMPointerARM")] - public partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; + public partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetKernelExecInfoARM")] - public unsafe partial int SetKernelExecInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] void* param_value); + public unsafe partial int SetKernelExecInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] void* param_value); [NativeApi(EntryPoint = "clSetKernelExecInfoARM")] - public partial int SetKernelExecInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] in T0 param_value) where T0 : unmanaged; + public partial int SetKernelExecInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] in T0 param_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clSVMAllocARM")] - public unsafe partial void* Svmalloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment); + public unsafe partial void* Svmalloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment); [NativeApi(EntryPoint = "clSVMFreeARM")] - public unsafe partial void Svmfree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] void* svm_pointer); + public unsafe partial void Svmfree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] void* svm_pointer); [NativeApi(EntryPoint = "clSVMFreeARM")] - public partial void Svmfree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] out T0 svm_pointer) where T0 : unmanaged; + public partial void Svmfree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] out T0 svm_pointer) where T0 : unmanaged; public ArmSharedVirtualMemory(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemoryOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemoryOverloads.gen.cs index 67757a2ce6..721481d9f3 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemoryOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.ARM/ArmSharedVirtualMemoryOverloads.gen.cs @@ -18,373 +18,373 @@ namespace Silk.NET.OpenCL.Extensions.ARM { public static class ArmSharedVirtualMemoryOverloads { - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] ARM flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int SetKernelArgSvmpointer(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged + public static unsafe int SetKernelArgSvmpointer(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelArgSvmpointer(kernel, arg_index, in arg_value.GetPinnableReference()); } - public static unsafe int SetKernelExecInfo(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] ReadOnlySpan param_value) where T0 : unmanaged + public static unsafe int SetKernelExecInfo(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] ReadOnlySpan param_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelExecInfo(kernel, param_name, param_value_size, in param_value.GetPinnableReference()); } - public static unsafe void Svmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] Span svm_pointer) where T0 : unmanaged + public static unsafe void Svmfree(this ArmSharedVirtualMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] Span svm_pointer) where T0 : unmanaged { // SpanOverloader thisApi.Svmfree(context, out svm_pointer.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFission.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFission.gen.cs index a9dcbcebc9..ebf1c4c54b 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFission.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFission.gen.cs @@ -23,34 +23,34 @@ public unsafe partial class ExtDeviceFission : NativeExtension { public const string ExtensionName = "EXT_device_fission"; [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clCreateSubDevicesEXT")] - public partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] out uint num_devices); + public partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in ulong properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clReleaseDeviceEXT")] - public partial int ReleaseDevice([Flow(FlowDirection.In)] IntPtr device); + public partial int ReleaseDevice([Flow(FlowDirection.In)] nint device); [NativeApi(EntryPoint = "clRetainDeviceEXT")] - public partial int RetainDevice([Flow(FlowDirection.In)] IntPtr device); + public partial int RetainDevice([Flow(FlowDirection.In)] nint device); public ExtDeviceFission(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFissionOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFissionOverloads.gen.cs index d43026f04b..b6e47f3ce8 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFissionOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtDeviceFissionOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.EXT { public static class ExtDeviceFissionOverloads { - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_entries, out_devices, out num_devices.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_entries, out out_devices.GetPinnableReference(), num_devices); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ulong* properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_entries, out out_devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_entries, out_devices, num_devices); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_entries, out_devices, out num_devices.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_entries, out out_devices.GetPinnableReference(), num_devices); } - public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int CreateSubDevices(this ExtDeviceFission thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_entries, out out_devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobject.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobject.gen.cs index 27dd66e8d8..afa7cb08b3 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobject.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobject.gen.cs @@ -23,28 +23,28 @@ public unsafe partial class ExtMigrateMemobject : NativeExtension { public const string ExtensionName = "EXT_migrate_memobject"; [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjectEXT")] - public partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueMigrateMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); public ExtMigrateMemobject(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobjectOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobjectOverloads.gen.cs index a6ec2c8d93..be3ea95501 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobjectOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtMigrateMemobjectOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.EXT { public static class ExtMigrateMemobjectOverloads { - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObject(this ExtMigrateMemobject thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] EXT flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObject(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmap.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmap.gen.cs index 02f66bf582..06e1f81369 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmap.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmap.gen.cs @@ -23,52 +23,52 @@ public unsafe partial class ImgGenerateMipmap : NativeExtension { public const string ExtensionName = "IMG_generate_mipmap"; [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueGenerateMipmapIMG")] - public partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in UIntPtr array_region, [Flow(FlowDirection.In)] in UIntPtr mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueGenerateMipmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] in nuint array_region, [Flow(FlowDirection.In)] in nuint mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); public ImgGenerateMipmap(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmapOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmapOverloads.gen.cs index 6ae7bb2de3..f44aeae475 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmapOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgGenerateMipmapOverloads.gen.cs @@ -18,91 +18,91 @@ namespace Silk.NET.OpenCL.Extensions.IMG { public static class ImgGenerateMipmapOverloads { - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, mip_region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, mip_region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, mip_region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, in mip_region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, in mip_region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, in mip_region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] UIntPtr* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] nuint* array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, array_region, in mip_region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), mip_region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), mip_region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), mip_region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] UIntPtr* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] nuint* mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), mip_region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), in mip_region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), in mip_region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), in mip_region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueGenerateMipmap(this ImgGenerateMipmap thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] IMG mipmap_filter_mode, [Flow(FlowDirection.In)] ReadOnlySpan array_region, [Flow(FlowDirection.In)] ReadOnlySpan mip_region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueGenerateMipmap(command_queue, src_image, dst_image, mipmap_filter_mode, in array_region.GetPinnableReference(), in mip_region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtr.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtr.gen.cs index d0b1f95743..8d47f8e203 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtr.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtr.gen.cs @@ -23,52 +23,52 @@ public unsafe partial class ImgUseGrallocPtr : NativeExtension { public const string ExtensionName = "IMG_use_gralloc_ptr"; [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGrallocObjectsIMG")] - public partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGrallocObjectsIMG")] - public partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseGrallocObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); public ImgUseGrallocPtr(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtrOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtrOverloads.gen.cs index bbc35b838e..21bcf243d9 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtrOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgUseGrallocPtrOverloads.gen.cs @@ -18,85 +18,85 @@ namespace Silk.NET.OpenCL.Extensions.IMG { public static class ImgUseGrallocPtrOverloads { - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGrallocObjects(this ImgUseGrallocPtr thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGrallocObjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAccelerator.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAccelerator.gen.cs index caef47331e..8567c7d43a 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAccelerator.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAccelerator.gen.cs @@ -23,34 +23,34 @@ public unsafe partial class IntelAccelerator : NativeExtension { public const string ExtensionName = "INTEL_accelerator"; [NativeApi(EntryPoint = "clCreateAcceleratorINTEL")] - public unsafe partial IntPtr CreateAccelerator([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateAccelerator([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateAcceleratorINTEL")] - public unsafe partial IntPtr CreateAccelerator([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateAccelerator([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateAcceleratorINTEL")] - public unsafe partial IntPtr CreateAccelerator([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] in T0 descriptor, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateAccelerator([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] in T0 descriptor, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateAcceleratorINTEL")] - public partial IntPtr CreateAccelerator([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] in T0 descriptor, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateAccelerator([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] in T0 descriptor, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetAcceleratorInfoINTEL")] - public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetAcceleratorInfoINTEL")] - public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetAcceleratorInfoINTEL")] - public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetAcceleratorInfo([Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetAcceleratorInfoINTEL")] - public partial int GetAcceleratorInfo([Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetAcceleratorInfo([Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clReleaseAcceleratorINTEL")] - public partial int ReleaseAccelerator([Flow(FlowDirection.In)] IntPtr accelerator); + public partial int ReleaseAccelerator([Flow(FlowDirection.In)] nint accelerator); [NativeApi(EntryPoint = "clRetainAcceleratorINTEL")] - public partial int RetainAccelerator([Flow(FlowDirection.In)] IntPtr accelerator); + public partial int RetainAccelerator([Flow(FlowDirection.In)] nint accelerator); public IntelAccelerator(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAcceleratorOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAcceleratorOverloads.gen.cs index b8a0bb3957..5c0079a6ec 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAcceleratorOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelAcceleratorOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenCL.Extensions.INTEL { public static class IntelAcceleratorOverloads { - public static unsafe IntPtr CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] void* descriptor, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateAccelerator(context, accelerator_type, descriptor_size, descriptor, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] ReadOnlySpan descriptor, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] ReadOnlySpan descriptor, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateAccelerator(context, accelerator_type, descriptor_size, in descriptor.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] UIntPtr descriptor_size, [Flow(FlowDirection.In)] ReadOnlySpan descriptor, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateAccelerator(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint accelerator_type, [Flow(FlowDirection.In)] nuint descriptor_size, [Flow(FlowDirection.In)] ReadOnlySpan descriptor, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateAccelerator(context, accelerator_type, descriptor_size, in descriptor.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetAcceleratorInfo(accelerator, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetAcceleratorInfo(accelerator, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] IntPtr accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetAcceleratorInfo(this IntelAccelerator thisApi, [Flow(FlowDirection.In)] nint accelerator, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetAcceleratorInfo(accelerator, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithProperties.gen.cs index dfd4f58e24..453d26fb57 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithProperties.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithProperties.gen.cs @@ -23,28 +23,28 @@ public unsafe partial class IntelCreateBufferWithProperties : NativeExtension([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithPropertiesINTEL")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithPropertiesINTEL")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithPropertiesINTEL")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithPropertiesINTEL")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithPropertiesINTEL")] - public partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; public IntelCreateBufferWithProperties(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithPropertiesOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithPropertiesOverloads.gen.cs index e371b6f661..3e5de10ca6 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithPropertiesOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelCreateBufferWithPropertiesOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.INTEL { public static class IntelCreateBufferWithPropertiesOverloads { - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this IntelCreateBufferWithProperties thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharing.gen.cs index 684e964cd5..51c8c65393 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharing.gen.cs @@ -23,88 +23,88 @@ public unsafe partial class IntelDx9MediaSharing : NativeExtension { public const string ExtensionName = "INTEL_dx9_media_sharing"; [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceINTEL")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceINTEL")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceINTEL")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceINTEL")] - public partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9ObjectsINTEL")] - public partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9ObjectsINTEL")] - public partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseDX9Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] out nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9INTEL")] - public partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public partial int GetDeviceIDsFromDX9([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] out T0 dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; public IntelDx9MediaSharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharingOverloads.gen.cs index a63dfcc22c..dff9923299 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelDx9MediaSharingOverloads.gen.cs @@ -18,145 +18,145 @@ namespace Silk.NET.OpenCL.Extensions.INTEL { public static class IntelDx9MediaSharingOverloads { - public static unsafe IntPtr CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, resource, sharedHandle, plane, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, out resource.GetPinnableReference(), sharedHandle, plane, errcode_ret); } - public static unsafe IntPtr CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] IntPtr sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromDX9MediaSurface(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] nint sharedHandle, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, out resource.GetPinnableReference(), sharedHandle, plane, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, out mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, out mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, out mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9Objects(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.Out)] Span mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9Objects(command_queue, num_objects, out mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, dx9_object, dx9_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, dx9_object, dx9_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] void* dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, dx9_object, dx9_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, out dx9_object.GetPinnableReference(), dx9_device_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, out dx9_object.GetPinnableReference(), dx9_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, out dx9_object.GetPinnableReference(), dx9_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9(this IntelDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint dx9_device_source, [Flow(FlowDirection.Out)] Span dx9_object, [Flow(FlowDirection.In)] uint dx9_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9(platform, dx9_device_source, out dx9_object.GetPinnableReference(), dx9_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemory.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemory.gen.cs index 5df1f2048b..389bde7c9c 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemory.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemory.gen.cs @@ -23,244 +23,244 @@ public unsafe partial class IntelUnifiedSharedMemory : NativeExtension { public const string ExtensionName = "INTEL_unified_shared_memory"; [NativeApi(EntryPoint = "clDeviceMemAllocINTEL")] - public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clDeviceMemAllocINTEL")] - public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clDeviceMemAllocINTEL")] - public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clDeviceMemAllocINTEL")] - public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* DeviceMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemAdviseINTEL")] - public partial int EnqueueMemAdvise([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueMemAdvise([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemcpyINTEL")] - public partial int EnqueueMemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueMemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemFillINTEL")] - public partial int EnqueueMemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueMemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMemsetINTEL")] - public partial int EnqueueMemset([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueMemset([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMigrateMemINTEL")] - public partial int EnqueueMigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueMigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clGetMemAllocInfoINTEL")] - public partial int GetMemAllocInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public partial int GetMemAllocInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clHostMemAllocINTEL")] - public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clHostMemAllocINTEL")] - public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clHostMemAllocINTEL")] - public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clHostMemAllocINTEL")] - public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* HostMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clMemFreeINTEL")] - public unsafe partial int MemFree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] void* ptr); + public unsafe partial int MemFree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] void* ptr); [NativeApi(EntryPoint = "clMemFreeINTEL")] - public partial int MemFree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; + public partial int MemFree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] out T0 ptr) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetKernelArgMemPointerINTEL")] - public unsafe partial int SetKernelArgMemPointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); + public unsafe partial int SetKernelArgMemPointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); [NativeApi(EntryPoint = "clSetKernelArgMemPointerINTEL")] - public partial int SetKernelArgMemPointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; + public partial int SetKernelArgMemPointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clSharedMemAllocINTEL")] - public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clSharedMemAllocINTEL")] - public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clSharedMemAllocINTEL")] - public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clSharedMemAllocINTEL")] - public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* SharedMemAlloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in INTEL properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] out int errcode_ret); public IntelUnifiedSharedMemory(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemoryOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemoryOverloads.gen.cs index cc7edbbc06..8c5eabf303 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemoryOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelUnifiedSharedMemoryOverloads.gen.cs @@ -18,415 +18,415 @@ namespace Silk.NET.OpenCL.Extensions.INTEL { public static class IntelUnifiedSharedMemoryOverloads { - public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.DeviceMemAlloc(context, device, properties, size, alignment, out errcode_ret.GetPinnableReference()); } - public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.DeviceMemAlloc(context, device, in properties.GetPinnableReference(), size, alignment, errcode_ret); } - public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* DeviceMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.DeviceMemAlloc(context, device, in properties.GetPinnableReference(), size, alignment, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, ptr, size, advice, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, ptr, size, advice, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, ptr, size, advice, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, in ptr.GetPinnableReference(), size, advice, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, in ptr.GetPinnableReference(), size, advice, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, in ptr.GetPinnableReference(), size, advice, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemAdvise(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint advice, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemAdvise(command_queue, in ptr.GetPinnableReference(), size, advice, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemcpy(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemcpy(command_queue, blocking, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, dst_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueMemFill(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueMemFill(command_queue, out dst_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemset(command_queue, dst_ptr, value, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMemset(command_queue, dst_ptr, value, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMemset(command_queue, dst_ptr, value, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemset(command_queue, out dst_ptr.GetPinnableReference(), value, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemset(command_queue, out dst_ptr.GetPinnableReference(), value, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemset(command_queue, out dst_ptr.GetPinnableReference(), value, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMemset(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] int value, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMemset(command_queue, out dst_ptr.GetPinnableReference(), value, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, ptr, size, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, ptr, size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, ptr, size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, in ptr.GetPinnableReference(), size, flags, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, in ptr.GetPinnableReference(), size, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, in ptr.GetPinnableReference(), size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueMigrateMem(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueMigrateMem(command_queue, in ptr.GetPinnableReference(), size, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetMemAllocInfo(context, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetMemAllocInfo(context, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.HostMemAlloc(context, properties, size, alignment, out errcode_ret.GetPinnableReference()); } - public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.HostMemAlloc(context, in properties.GetPinnableReference(), size, alignment, errcode_ret); } - public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* HostMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.HostMemAlloc(context, in properties.GetPinnableReference(), size, alignment, out errcode_ret.GetPinnableReference()); } - public static unsafe int MemFree(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] Span ptr) where T0 : unmanaged + public static unsafe int MemFree(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] Span ptr) where T0 : unmanaged { // SpanOverloader return thisApi.MemFree(context, out ptr.GetPinnableReference()); } - public static unsafe int SetKernelArgMemPointer(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged + public static unsafe int SetKernelArgMemPointer(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelArgMemPointer(kernel, arg_index, in arg_value.GetPinnableReference()); } - public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] INTEL* properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.SharedMemAlloc(context, device, properties, size, alignment, out errcode_ret.GetPinnableReference()); } - public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.SharedMemAlloc(context, device, in properties.GetPinnableReference(), size, alignment, errcode_ret); } - public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* SharedMemAlloc(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.SharedMemAlloc(context, device, in properties.GetPinnableReference(), size, alignment, out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharing.gen.cs index 98d96342cb..8c6a2ac4f1 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharing.gen.cs @@ -23,82 +23,82 @@ public unsafe partial class IntelVaApiMediaSharing : NativeExtension { public const string ExtensionName = "INTEL_va_api_media_sharing"; [NativeApi(EntryPoint = "clCreateFromVA_APIMediaSurfaceINTEL")] - public unsafe partial IntPtr CreateFromVAApimediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] IntPtr surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromVAApimediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] nint surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromVA_APIMediaSurfaceINTEL")] - public partial IntPtr CreateFromVAApimediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] IntPtr surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromVAApimediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] nint surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireVA_APIMediaSurfacesINTEL")] - public partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseVA_APIMediaSurfacesINTEL")] - public partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseVAApimediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromVA_APIMediaAdapterINTEL")] - public partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public partial int GetDeviceIDsFromVAApimediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; public IntelVaApiMediaSharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharingOverloads.gen.cs index 0a39eb8c47..b28a89e35e 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/IntelVaApiMediaSharingOverloads.gen.cs @@ -18,133 +18,133 @@ namespace Silk.NET.OpenCL.Extensions.INTEL { public static class IntelVaApiMediaSharingOverloads { - public static unsafe IntPtr CreateFromVAApimediaSurface(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] IntPtr surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromVAApimediaSurface(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] INTEL flags, [Flow(FlowDirection.Out)] nint surface, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromVAApimediaSurface(context, flags, surface, plane, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseVAApimediaSurfaces(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseVAApimediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, media_adapter, media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, media_adapter, media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, media_adapter, media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, out media_adapter.GetPinnableReference(), media_adapter_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, out media_adapter.GetPinnableReference(), media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, out media_adapter.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromVAApimediaAdapter(this IntelVaApiMediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapter, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromVAApimediaAdapter(platform, media_adapter_type, out media_adapter.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueue.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueue.gen.cs index 65a5882ab2..637afdbd3a 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueue.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueue.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class KhrCreateCommandQueue : NativeExtension { public const string ExtensionName = "KHR_create_command_queue"; [NativeApi(EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in KHR properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in KHR properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithPropertiesKHR")] - public partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in KHR properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in KHR properties, [Flow(FlowDirection.Out)] out int errcode_ret); public KhrCreateCommandQueue(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueueOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueueOverloads.gen.cs index ed1b49ad03..d0696b4e86 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueueOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrCreateCommandQueueOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrCreateCommandQueueOverloads { - public static unsafe IntPtr CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] KHR* properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, in properties.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this KhrCreateCommandQueue thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, in properties.GetPinnableReference(), out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10Sharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10Sharing.gen.cs index 1c6ca49ddc..541a9425de 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10Sharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10Sharing.gen.cs @@ -23,112 +23,112 @@ public unsafe partial class KhrD3d10Sharing : NativeExtension { public const string ExtensionName = "KHR_d3d10_sharing"; [NativeApi(EntryPoint = "clCreateFromD3D10BufferKHR")] - public unsafe partial IntPtr CreateFromD3D10Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D10Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10BufferKHR")] - public unsafe partial IntPtr CreateFromD3D10Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D10Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10BufferKHR")] - public unsafe partial IntPtr CreateFromD3D10Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D10Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D10BufferKHR")] - public partial IntPtr CreateFromD3D10Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D10Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D10Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D10Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D10Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D10Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D10Texture2DKHR")] - public partial IntPtr CreateFromD3D10Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D10Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D10Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D10Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D10Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D10Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D10Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D10Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D10Texture3DKHR")] - public partial IntPtr CreateFromD3D10Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D10Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D10ObjectsKHR")] - public partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D10ObjectsKHR")] - public partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseD3D10Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D10KHR")] - public partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public partial int GetDeviceIDsFromD3D10([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; public KhrD3d10Sharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10SharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10SharingOverloads.gen.cs index 7f8d87dd53..d90e6ddc99 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10SharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d10SharingOverloads.gen.cs @@ -18,181 +18,181 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrD3d10SharingOverloads { - public static unsafe IntPtr CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D10Buffer(context, flags, resource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Buffer(context, flags, out resource.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Buffer(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Buffer(context, flags, out resource.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D10Texture2D(context, flags, resource, subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Texture2D(context, flags, out resource.GetPinnableReference(), subresource, errcode_ret); } - public static unsafe IntPtr CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Texture2D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Texture2D(context, flags, out resource.GetPinnableReference(), subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D10Texture3D(context, flags, resource, subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Texture3D(context, flags, out resource.GetPinnableReference(), subresource, errcode_ret); } - public static unsafe IntPtr CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D10Texture3D(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D10Texture3D(context, flags, out resource.GetPinnableReference(), subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D10Objects(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D10Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D10(this KhrD3d10Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D10(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11Sharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11Sharing.gen.cs index 3fd514d05e..9a56bdb7b7 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11Sharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11Sharing.gen.cs @@ -23,112 +23,112 @@ public unsafe partial class KhrD3d11Sharing : NativeExtension { public const string ExtensionName = "KHR_d3d11_sharing"; [NativeApi(EntryPoint = "clCreateFromD3D11BufferKHR")] - public unsafe partial IntPtr CreateFromD3D11Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D11Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11BufferKHR")] - public unsafe partial IntPtr CreateFromD3D11Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D11Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11BufferKHR")] - public unsafe partial IntPtr CreateFromD3D11Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D11Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D11BufferKHR")] - public partial IntPtr CreateFromD3D11Buffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D11Buffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D11Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D11Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D11Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11Texture2DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D11Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D11Texture2DKHR")] - public partial IntPtr CreateFromD3D11Texture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D11Texture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D11Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromD3D11Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromD3D11Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromD3D11Texture3DKHR")] - public unsafe partial IntPtr CreateFromD3D11Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromD3D11Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromD3D11Texture3DKHR")] - public partial IntPtr CreateFromD3D11Texture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromD3D11Texture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] out T0 resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireD3D11ObjectsKHR")] - public partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseD3D11ObjectsKHR")] - public partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseD3D11Objects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromD3D11KHR")] - public partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public partial int GetDeviceIDsFromD3D11([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] out T0 d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; public KhrD3d11Sharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11SharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11SharingOverloads.gen.cs index bc159b7dff..ce1da55d4b 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11SharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrD3d11SharingOverloads.gen.cs @@ -18,181 +18,181 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrD3d11SharingOverloads { - public static unsafe IntPtr CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D11Buffer(context, flags, resource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Buffer(context, flags, out resource.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Buffer(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Buffer(context, flags, out resource.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D11Texture2D(context, flags, resource, subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Texture2D(context, flags, out resource.GetPinnableReference(), subresource, errcode_ret); } - public static unsafe IntPtr CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Texture2D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Texture2D(context, flags, out resource.GetPinnableReference(), subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] void* resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromD3D11Texture3D(context, flags, resource, subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Texture3D(context, flags, out resource.GetPinnableReference(), subresource, errcode_ret); } - public static unsafe IntPtr CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromD3D11Texture3D(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.Out)] Span resource, [Flow(FlowDirection.In)] uint subresource, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromD3D11Texture3D(context, flags, out resource.GetPinnableReference(), subresource, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseD3D11Objects(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseD3D11Objects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] void* d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, d3d_object, d3d_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromD3D11(this KhrD3d11Sharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint d3d_device_source, [Flow(FlowDirection.Out)] Span d3d_object, [Flow(FlowDirection.In)] uint d3d_device_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromD3D11(platform, d3d_device_source, out d3d_object.GetPinnableReference(), d3d_device_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharing.gen.cs index 1774767b88..cea74606a8 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharing.gen.cs @@ -23,112 +23,112 @@ public unsafe partial class KhrDx9MediaSharing : NativeExtension { public const string ExtensionName = "KHR_dx9_media_sharing"; [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceKHR")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceKHR")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceKHR")] - public unsafe partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] out T0 surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] out T0 surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateFromDX9MediaSurfaceKHR")] - public partial IntPtr CreateFromDX9MediaSurface([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] out T0 surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateFromDX9MediaSurface([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] out T0 surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireDX9MediaSurfacesKHR")] - public partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseDX9MediaSurfacesKHR")] - public partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseDX9MediaSurfaces([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; + public unsafe partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDsFromDX9MediaAdapterKHR")] - public partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; + public partial int GetDeviceIDsFromDX9MediaAdapter([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] out uint media_adapter_type, [Flow(FlowDirection.Out)] out T0 media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices) where T0 : unmanaged; public KhrDx9MediaSharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharingOverloads.gen.cs index b346efea9d..0cb58f9f9e 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrDx9MediaSharingOverloads.gen.cs @@ -18,193 +18,193 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrDx9MediaSharingOverloads { - public static unsafe IntPtr CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] void* surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, adapter_type, surface_info, plane, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] Span surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] Span surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, adapter_type, out surface_info.GetPinnableReference(), plane, errcode_ret); } - public static unsafe IntPtr CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] Span surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateFromDX9MediaSurface(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint adapter_type, [Flow(FlowDirection.Out)] Span surface_info, [Flow(FlowDirection.In)] uint plane, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateFromDX9MediaSurface(context, flags, adapter_type, out surface_info.GetPinnableReference(), plane, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseDX9MediaSurfaces(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseDX9MediaSurfaces(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, media_adapters, media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, media_adapters, media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, media_adapters, media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] uint* media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, media_adapter_type, out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), media_adapters, media_adapter_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), media_adapters, media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), media_adapters, media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] void* media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), media_adapters, media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, devices, num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged + public static unsafe int GetDeviceIDsFromDX9MediaAdapter(this KhrDx9MediaSharing thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint num_media_adapters, [Flow(FlowDirection.Out)] Span media_adapter_type, [Flow(FlowDirection.Out)] Span media_adapters, [Flow(FlowDirection.In)] uint media_adapter_set, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceIDsFromDX9MediaAdapter(platform, num_media_adapters, out media_adapter_type.GetPinnableReference(), out media_adapters.GetPinnableReference(), media_adapter_set, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEvent.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEvent.gen.cs index 9ca351cdcf..6c6e651b5a 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEvent.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEvent.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class KhrEglEvent : NativeExtension { public const string ExtensionName = "KHR_egl_event"; [NativeApi(EntryPoint = "clCreateEventFromEGLSyncKHR")] - public unsafe partial IntPtr CreateEventFromEglsync([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] IntPtr display, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateEventFromEglsync([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] nint display, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateEventFromEGLSyncKHR")] - public partial IntPtr CreateEventFromEglsync([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] IntPtr display, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateEventFromEglsync([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] nint display, [Flow(FlowDirection.Out)] out int errcode_ret); public KhrEglEvent(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEventOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEventOverloads.gen.cs index 655a0728ed..b376171b50 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEventOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglEventOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrEglEventOverloads { - public static unsafe IntPtr CreateEventFromEglsync(this KhrEglEvent thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] IntPtr display, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateEventFromEglsync(this KhrEglEvent thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] nint display, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateEventFromEglsync(context, sync, display, out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImage.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImage.gen.cs index b0c4a28a03..c2f66b7dd9 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImage.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImage.gen.cs @@ -23,64 +23,64 @@ public unsafe partial class KhrEglImage : NativeExtension { public const string ExtensionName = "KHR_egl_image"; [NativeApi(EntryPoint = "clCreateFromEGLImageKHR")] - public unsafe partial IntPtr CreateFromEglimage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromEglimage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromEGLImageKHR")] - public unsafe partial IntPtr CreateFromEglimage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateFromEglimage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromEGLImageKHR")] - public unsafe partial IntPtr CreateFromEglimage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromEglimage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromEGLImageKHR")] - public partial IntPtr CreateFromEglimage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromEglimage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireEGLObjectsKHR")] - public partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseEGLObjectsKHR")] - public partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseEglobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); public KhrEglImage(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImageOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImageOverloads.gen.cs index 752ed63938..e94cbbed43 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImageOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrEglImageOverloads.gen.cs @@ -18,103 +18,103 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrEglImageOverloads { - public static unsafe IntPtr CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromEglimage(context, egldisplay, eglimage, flags, properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateFromEglimage(context, egldisplay, eglimage, flags, in properties.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr egldisplay, [Flow(FlowDirection.In)] IntPtr eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromEglimage(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint egldisplay, [Flow(FlowDirection.In)] nint eglimage, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromEglimage(context, egldisplay, eglimage, flags, in properties.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseEglobjects(this KhrEglImage thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseEglobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEvent.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEvent.gen.cs index 26565ac28b..7afe4c1a49 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEvent.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEvent.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class KhrGlEvent : NativeExtension { public const string ExtensionName = "KHR_gl_event"; [NativeApi(EntryPoint = "clCreateEventFromGLsyncKHR")] - public unsafe partial IntPtr CreateEventFromGLsync([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateEventFromGLsync([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateEventFromGLsyncKHR")] - public partial IntPtr CreateEventFromGLsync([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateEventFromGLsync([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.Out)] out int errcode_ret); public KhrGlEvent(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEventOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEventOverloads.gen.cs index 0d8b125425..b06ac90506 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEventOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlEventOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrGlEventOverloads { - public static unsafe IntPtr CreateEventFromGLsync(this KhrGlEvent thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateEventFromGLsync(this KhrGlEvent thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateEventFromGLsync(context, sync, out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharing.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharing.gen.cs index db2c81e215..ba35c5aa4f 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharing.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharing.gen.cs @@ -23,130 +23,130 @@ public unsafe partial class KhrGlSharing : NativeExtension { public const string ExtensionName = "KHR_gl_sharing"; [NativeApi(EntryPoint = "clCreateFromGLBuffer")] - public unsafe partial IntPtr CreateFromGlbuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromGlbuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLBuffer")] - public partial IntPtr CreateFromGlbuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromGlbuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLRenderbuffer")] - public unsafe partial IntPtr CreateFromGlrenderbuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromGlrenderbuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLRenderbuffer")] - public partial IntPtr CreateFromGlrenderbuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromGlrenderbuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture")] - public unsafe partial IntPtr CreateFromGltexture([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromGltexture([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture")] - public partial IntPtr CreateFromGltexture([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromGltexture([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture2D")] - public unsafe partial IntPtr CreateFromGltexture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromGltexture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture2D")] - public partial IntPtr CreateFromGltexture2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromGltexture2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture3D")] - public unsafe partial IntPtr CreateFromGltexture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateFromGltexture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateFromGLTexture3D")] - public partial IntPtr CreateFromGltexture3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateFromGltexture3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueAcquireGLObjects")] - public partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueAcquireGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReleaseGLObjects")] - public partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueReleaseGlobjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetGlcontextInfo([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetGLContextInfoKHR")] - public partial int GetGlcontextInfo([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetGlcontextInfo([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetGLObjectInfo")] - public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name); + public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name); [NativeApi(EntryPoint = "clGetGLObjectInfo")] - public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] out uint gl_object_name); + public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] out uint gl_object_name); [NativeApi(EntryPoint = "clGetGLObjectInfo")] - public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out uint gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name); + public unsafe partial int GetGlobjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out uint gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name); [NativeApi(EntryPoint = "clGetGLObjectInfo")] - public partial int GetGlobjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out uint gl_object_type, [Flow(FlowDirection.Out)] out uint gl_object_name); + public partial int GetGlobjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out uint gl_object_type, [Flow(FlowDirection.Out)] out uint gl_object_name); [NativeApi(EntryPoint = "clGetGLTextureInfo")] - public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetGLTextureInfo")] - public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetGLTextureInfo")] - public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetGltextureInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetGLTextureInfo")] - public partial int GetGltextureInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetGltextureInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; public KhrGlSharing(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharingOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharingOverloads.gen.cs index edd5a04c2f..d44ba8f28f 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharingOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrGlSharingOverloads.gen.cs @@ -18,193 +18,193 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrGlSharingOverloads { - public static unsafe IntPtr CreateFromGlbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromGlbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint bufobj, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromGlbuffer(context, flags, bufobj, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromGlrenderbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromGlrenderbuffer(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromGlrenderbuffer(context, flags, renderbuffer, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromGltexture(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromGltexture(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromGltexture(context, flags, target, miplevel, texture, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromGltexture2D(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromGltexture2D(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromGltexture2D(context, flags, target, miplevel, texture, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateFromGltexture3D(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateFromGltexture3D(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] KHR flags, [Flow(FlowDirection.In)] uint target, [Flow(FlowDirection.In)] int miplevel, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateFromGltexture3D(context, flags, target, miplevel, texture, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueAcquireGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueAcquireGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, mem_objects, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReleaseGlobjects(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReleaseGlobjects(command_queue, num_objects, in mem_objects.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetGlcontextInfo(properties, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGlcontextInfo(properties, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGlcontextInfo(properties, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) { // SpanOverloader return thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGlcontextInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGlcontextInfo(in properties.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] Span gl_object_name) + public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] uint* gl_object_type, [Flow(FlowDirection.Out)] Span gl_object_name) { // SpanOverloader return thisApi.GetGlobjectInfo(memobj, gl_object_type, out gl_object_name.GetPinnableReference()); } - public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name) + public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span gl_object_type, [Flow(FlowDirection.Out)] uint* gl_object_name) { // SpanOverloader return thisApi.GetGlobjectInfo(memobj, out gl_object_type.GetPinnableReference(), gl_object_name); } - public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span gl_object_type, [Flow(FlowDirection.Out)] Span gl_object_name) + public static unsafe int GetGlobjectInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span gl_object_type, [Flow(FlowDirection.Out)] Span gl_object_name) { // SpanOverloader return thisApi.GetGlobjectInfo(memobj, out gl_object_type.GetPinnableReference(), out gl_object_name.GetPinnableReference()); } - public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetGltextureInfo(memobj, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGltextureInfo(memobj, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetGltextureInfo(this KhrGlSharing thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetGltextureInfo(memobj, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs index 3869d090ae..4453ebff96 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class KhrIcd : NativeExtension { public const string ExtensionName = "KHR_icd"; [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR")] - public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] uint* num_platforms); + public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] uint* num_platforms); [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR")] - public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] out uint num_platforms); + public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] out uint num_platforms); [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR")] - public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr platforms, [Flow(FlowDirection.Out)] uint* num_platforms); + public unsafe partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint platforms, [Flow(FlowDirection.Out)] uint* num_platforms); [NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR")] - public partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr platforms, [Flow(FlowDirection.Out)] out uint num_platforms); + public partial int IcdGetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint platforms, [Flow(FlowDirection.Out)] out uint num_platforms); public KhrIcd(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs index 88f1a1b850..09c2cd6a1a 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrIcdOverloads { - public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] Span num_platforms) + public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] Span num_platforms) { // SpanOverloader return thisApi.IcdGetPlatformIDs(num_entries, platforms, out num_platforms.GetPinnableReference()); } - public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] uint* num_platforms) + public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] uint* num_platforms) { // SpanOverloader return thisApi.IcdGetPlatformIDs(num_entries, out platforms.GetPinnableReference(), num_platforms); } - public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] Span num_platforms) + public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] Span num_platforms) { // SpanOverloader return thisApi.IcdGetPlatformIDs(num_entries, out platforms.GetPinnableReference(), out num_platforms.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgram.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgram.gen.cs index eb781c7e8b..0149cec600 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgram.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgram.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class KhrIlProgram : NativeExtension { public const string ExtensionName = "KHR_il_program"; [NativeApi(EntryPoint = "clCreateProgramWithILKHR")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithILKHR")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithILKHR")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateProgramWithILKHR")] - public partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; public KhrIlProgram(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgramOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgramOverloads.gen.cs index b733a98ccb..263bee8913 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgramOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIlProgramOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrIlProgramOverloads { - public static unsafe IntPtr CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithIL(context, il, length, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateProgramWithIL(context, in il.GetPinnableReference(), length, errcode_ret); } - public static unsafe IntPtr CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateProgramWithIL(this KhrIlProgram thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateProgramWithIL(context, in il.GetPinnableReference(), length, out errcode_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroups.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroups.gen.cs index 68fec0be2a..ef18affa27 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroups.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroups.gen.cs @@ -23,28 +23,28 @@ public unsafe partial class KhrSubgroups : NativeExtension { public const string ExtensionName = "KHR_subgroups"; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfoKHR")] - public partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; public KhrSubgroups(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroupsOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroupsOverloads.gen.cs index 087edf49e1..7a58e01820 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroupsOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrSubgroupsOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.KHR { public static class KhrSubgroupsOverloads { - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, input_value, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, input_value, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, input_value, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, param_value, param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] IntPtr in_kernel, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this KhrSubgroups thisApi, [Flow(FlowDirection.In)] nint in_kernel, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(in_kernel, in_device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrTerminateContext.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrTerminateContext.gen.cs index 6d0795a750..db287c939d 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrTerminateContext.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrTerminateContext.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class KhrTerminateContext : NativeExtension { public const string ExtensionName = "KHR_terminate_context"; [NativeApi(EntryPoint = "clTerminateContextKHR")] - public partial int TerminateContext([Flow(FlowDirection.In)] IntPtr context); + public partial int TerminateContext([Flow(FlowDirection.In)] nint context); public KhrTerminateContext(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtr.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtr.gen.cs index 0509876f7a..c42b544bb2 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtr.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtr.gen.cs @@ -23,28 +23,28 @@ public unsafe partial class QComExtHostPtr : NativeExtension { public const string ExtensionName = "QCOM_ext_host_ptr"; [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceImageInfoQCOM")] - public partial int GetDeviceImageInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetDeviceImageInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; public QComExtHostPtr(INativeContext ctx) : base(ctx) diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtrOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtrOverloads.gen.cs index 72ce09f54c..6f930ccde0 100644 --- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtrOverloads.gen.cs +++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.QCOM/QComExtHostPtrOverloads.gen.cs @@ -18,43 +18,43 @@ namespace Silk.NET.OpenCL.Extensions.QCOM { public static class QComExtHostPtrOverloads { - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, image_format, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, image_format, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, image_format, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, in image_format.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, in image_format.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, in image_format.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceImageInfo(this QComExtHostPtr thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceImageInfo(device, image_width, image_height, in image_format.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); diff --git a/src/OpenCL/Silk.NET.OpenCL/CL.gen.cs b/src/OpenCL/Silk.NET.OpenCL/CL.gen.cs index f8ded3f0ef..3ae80543d4 100644 --- a/src/OpenCL/Silk.NET.OpenCL/CL.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/CL.gen.cs @@ -275,3124 +275,3124 @@ public unsafe partial class CL : NativeAPI public const int VersionPatchBits = 12; [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public unsafe partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBufferWithProperties")] - public partial IntPtr CreateBufferWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateBufferWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public unsafe partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImageWithProperties")] - public partial IntPtr CreateImageWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateImageWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetContextDestructorCallback")] - public unsafe partial int SetContextDestructorCallback([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int SetContextDestructorCallback([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clSetContextDestructorCallback")] - public partial int SetContextDestructorCallback([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int SetContextDestructorCallback([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetProgramReleaseCallback")] - public unsafe partial int SetProgramReleaseCallback([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int SetProgramReleaseCallback([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clSetProgramReleaseCallback")] - public partial int SetProgramReleaseCallback([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int SetProgramReleaseCallback([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetProgramSpecializationConstant")] - public unsafe partial int SetProgramSpecializationConstant([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] UIntPtr spec_size, [Flow(FlowDirection.In)] void* spec_value); + public unsafe partial int SetProgramSpecializationConstant([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] nuint spec_size, [Flow(FlowDirection.In)] void* spec_value); [NativeApi(EntryPoint = "clSetProgramSpecializationConstant")] - public partial int SetProgramSpecializationConstant([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] UIntPtr spec_size, [Flow(FlowDirection.In)] in T0 spec_value) where T0 : unmanaged; + public partial int SetProgramSpecializationConstant([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] nuint spec_size, [Flow(FlowDirection.In)] in T0 spec_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateProgramWithIL")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithIL")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithIL")] - public unsafe partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateProgramWithIL")] - public partial IntPtr CreateProgramWithIL([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateProgramWithIL([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in T0 il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMigrateMem")] - public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in UIntPtr sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmigrateMem([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] in nuint sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetDeviceAndHostTimer")] - public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp); + public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp); [NativeApi(EntryPoint = "clGetDeviceAndHostTimer")] - public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] out ulong host_timestamp); + public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] out ulong host_timestamp); [NativeApi(EntryPoint = "clGetDeviceAndHostTimer")] - public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] out ulong device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp); + public unsafe partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] out ulong device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp); [NativeApi(EntryPoint = "clGetDeviceAndHostTimer")] - public partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] out ulong device_timestamp, [Flow(FlowDirection.Out)] out ulong host_timestamp); + public partial int GetDeviceAndHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] out ulong device_timestamp, [Flow(FlowDirection.Out)] out ulong host_timestamp); [NativeApi(EntryPoint = "clGetHostTimer")] - public unsafe partial int GetHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] ulong* host_timestamp); + public unsafe partial int GetHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] ulong* host_timestamp); [NativeApi(EntryPoint = "clGetHostTimer")] - public partial int GetHostTimer([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] out ulong host_timestamp); + public partial int GetHostTimer([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] out ulong host_timestamp); [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clGetKernelSubGroupInfo")] - public partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; + public partial int GetKernelSubGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] in T0 input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T1 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clCloneKernel")] - public unsafe partial IntPtr OneKernel([Flow(FlowDirection.In)] IntPtr source_kernel, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint OneKernel([Flow(FlowDirection.In)] nint source_kernel, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCloneKernel")] - public partial IntPtr OneKernel([Flow(FlowDirection.In)] IntPtr source_kernel, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint OneKernel([Flow(FlowDirection.In)] nint source_kernel, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clSetDefaultDeviceCommandQueue")] - public partial int SetDefaultDeviceCommandQueue([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] IntPtr command_queue); + public partial int SetDefaultDeviceCommandQueue([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clCreateCommandQueueWithProperties")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithProperties")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithProperties")] - public unsafe partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueueWithProperties")] - public partial IntPtr CreateCommandQueueWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateCommandQueueWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] in CLEnum properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreatePipe")] - public unsafe partial IntPtr CreatePipe([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreatePipe([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreatePipe")] - public unsafe partial IntPtr CreatePipe([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreatePipe([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreatePipe")] - public unsafe partial IntPtr CreatePipe([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreatePipe([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreatePipe")] - public partial IntPtr CreatePipe([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreatePipe([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateSamplerWithProperties")] - public unsafe partial IntPtr CreateSamplerWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateSamplerWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateSamplerWithProperties")] - public unsafe partial IntPtr CreateSamplerWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateSamplerWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateSamplerWithProperties")] - public unsafe partial IntPtr CreateSamplerWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateSamplerWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateSamplerWithProperties")] - public partial IntPtr CreateSamplerWithProperties([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] in CLEnum sampler_properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateSamplerWithProperties([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] in CLEnum sampler_properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMFree")] - public partial int EnqueueSvmfree([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmfree([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] out T0 svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] out T1 user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMap")] - public partial int EnqueueSvmmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueSvmmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] in T0 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemcpy")] - public partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmmemcpy([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] out T0 dst_ptr, [Flow(FlowDirection.In)] in T1 src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged; + public unsafe partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMMemFill")] - public partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged where T1 : unmanaged; + public partial int EnqueueSvmmemFill([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] in T1 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueSVMUnmap")] - public partial int EnqueueSvmunmap([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueSvmunmap([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out T0 svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetPipeInfo")] - public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetPipeInfo")] - public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetPipeInfo")] - public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetPipeInfo([Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetPipeInfo")] - public partial int GetPipeInfo([Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetPipeInfo([Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetKernelArgSVMPointer")] - public unsafe partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); + public unsafe partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] void* arg_value); [NativeApi(EntryPoint = "clSetKernelArgSVMPointer")] - public partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; + public partial int SetKernelArgSvmpointer([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetKernelExecInfo")] - public unsafe partial int SetKernelExecInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] void* param_value); + public unsafe partial int SetKernelExecInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] void* param_value); [NativeApi(EntryPoint = "clSetKernelExecInfo")] - public partial int SetKernelExecInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] in T0 param_value) where T0 : unmanaged; + public partial int SetKernelExecInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] in T0 param_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clSVMAlloc")] - public unsafe partial void* Svmalloc([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint alignment); + public unsafe partial void* Svmalloc([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint alignment); [NativeApi(EntryPoint = "clSVMFree")] - public unsafe partial void Svmfree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] void* svm_pointer); + public unsafe partial void Svmfree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] void* svm_pointer); [NativeApi(EntryPoint = "clSVMFree")] - public partial void Svmfree([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] out T0 svm_pointer) where T0 : unmanaged; + public partial void Svmfree([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] out T0 svm_pointer) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clCompileProgram")] - public unsafe partial int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage")] - public unsafe partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage")] - public partial IntPtr CreateImage([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateImage([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] in ImageDesc image_desc, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public unsafe partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBuiltInKernels")] - public partial IntPtr CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateProgramWithBuiltInKernel([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); + public unsafe partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret); [NativeApi(EntryPoint = "clCreateSubDevices")] - public partial int CreateSubDevices([Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out IntPtr out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); + public partial int CreateSubDevices([Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] out nint out_devices, [Flow(FlowDirection.Out)] out uint num_devices_ret); [NativeApi(EntryPoint = "clEnqueueBarrierWithWaitList")] - public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueBarrierWithWaitList")] - public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueBarrierWithWaitList")] - public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueBarrierWithWaitList")] - public partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueBarrierWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillBuffer")] - public partial int EnqueueFillBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueFillBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] in T0 pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueFillImage")] - public partial int EnqueueFillImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueFillImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in T0 fill_color, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueMarkerWithWaitList")] - public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMarkerWithWaitList")] - public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMarkerWithWaitList")] - public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMarkerWithWaitList")] - public partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueMarkerWithWaitList([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMigrateMemObjects")] - public partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueMigrateMemObjects([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clGetExtensionFunctionAddressForPlatform")] - public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] byte* func_name); + public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] byte* func_name); [NativeApi(EntryPoint = "clGetExtensionFunctionAddressForPlatform")] - public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] in byte func_name); + public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] in byte func_name); [NativeApi(EntryPoint = "clGetExtensionFunctionAddressForPlatform")] - public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] string func_name); + public unsafe partial void* GetExtensionFunctionAddressForPlatform([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] string func_name); [NativeApi(EntryPoint = "clGetKernelArgInfo")] - public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelArgInfo")] - public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelArgInfo")] - public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelArgInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelArgInfo")] - public partial int GetKernelArgInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetKernelArgInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clLinkProgram")] - public unsafe partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clLinkProgram")] - public partial IntPtr LinkProgram([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in IntPtr input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint LinkProgram([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] in nint input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clReleaseDevice")] - public partial int ReleaseDevice([Flow(FlowDirection.In)] IntPtr device); + public partial int ReleaseDevice([Flow(FlowDirection.In)] nint device); [NativeApi(EntryPoint = "clRetainDevice")] - public partial int RetainDevice([Flow(FlowDirection.In)] IntPtr device); + public partial int RetainDevice([Flow(FlowDirection.In)] nint device); [NativeApi(EntryPoint = "clUnloadPlatformCompiler")] - public partial int UnloadPlatformCompiler([Flow(FlowDirection.In)] IntPtr platform); + public partial int UnloadPlatformCompiler([Flow(FlowDirection.In)] nint platform); [NativeApi(EntryPoint = "clCreateSubBuffer")] - public unsafe partial IntPtr CreateSubBuffer([Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateSubBuffer([Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateSubBuffer")] - public unsafe partial IntPtr CreateSubBuffer([Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateSubBuffer([Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateSubBuffer")] - public unsafe partial IntPtr CreateSubBuffer([Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] in T0 buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateSubBuffer([Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] in T0 buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateSubBuffer")] - public partial IntPtr CreateSubBuffer([Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] in T0 buffer_create_info, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateSubBuffer([Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] in T0 buffer_create_info, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateUserEvent")] - public unsafe partial IntPtr CreateUserEvent([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateUserEvent([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateUserEvent")] - public partial IntPtr CreateUserEvent([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateUserEvent([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferRect")] - public partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueCopyBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBufferRect")] - public partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueReadBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBufferRect")] - public partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr buffer_origin, [Flow(FlowDirection.In)] in UIntPtr host_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueWriteBufferRect([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint buffer_origin, [Flow(FlowDirection.In)] in nuint host_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetEventCallback")] - public unsafe partial int SetEventCallback([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int SetEventCallback([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clSetEventCallback")] - public partial int SetEventCallback([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int SetEventCallback([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetMemObjectDestructorCallback")] - public unsafe partial int SetMemObjectDestructorCallback([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int SetMemObjectDestructorCallback([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clSetMemObjectDestructorCallback")] - public partial int SetMemObjectDestructorCallback([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int SetMemObjectDestructorCallback([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clSetUserEventStatus")] - public partial int SetUserEventStatus([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] int execution_status); + public partial int SetUserEventStatus([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] int execution_status); [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clBuildProgram")] - public unsafe partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); + public unsafe partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data); [NativeApi(EntryPoint = "clBuildProgram")] - public partial int BuildProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; + public partial int BuildProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBuffer")] - public unsafe partial IntPtr CreateBuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateBuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateBuffer")] - public unsafe partial IntPtr CreateBuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateBuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateBuffer")] - public unsafe partial IntPtr CreateBuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateBuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateBuffer")] - public partial IntPtr CreateBuffer([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateBuffer([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateCommandQueue")] - public unsafe partial IntPtr CreateCommandQueue([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateCommandQueue([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateCommandQueue")] - public partial IntPtr CreateCommandQueue([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateCommandQueue([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContext")] - public unsafe partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContext")] - public partial IntPtr CreateContext([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateContext([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateContextFromType")] - public unsafe partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateContextFromType([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateContextFromType")] - public partial IntPtr CreateContextFromType([Flow(FlowDirection.In)] in IntPtr properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateContextFromType([Flow(FlowDirection.In)] in nint properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage2D")] - public unsafe partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage2D")] - public partial IntPtr CreateImage2D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateImage2D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateImage3D")] - public unsafe partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; + public unsafe partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateImage3D")] - public partial IntPtr CreateImage3D([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; + public partial nint CreateImage3D([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] in uint image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] out T0 host_ptr, [Flow(FlowDirection.Out)] out int errcode_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clCreateKernel")] - public unsafe partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateKernel")] - public unsafe partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateKernel")] - public unsafe partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] in byte kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] in byte kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateKernel")] - public partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] in byte kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] in byte kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateKernel")] - public unsafe partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateKernel")] - public partial IntPtr CreateKernel([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateKernel([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateKernelsInProgram")] - public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] IntPtr* kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret); + public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] nint* kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret); [NativeApi(EntryPoint = "clCreateKernelsInProgram")] - public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] IntPtr* kernels, [Flow(FlowDirection.Out)] out uint num_kernels_ret); + public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] nint* kernels, [Flow(FlowDirection.Out)] out uint num_kernels_ret); [NativeApi(EntryPoint = "clCreateKernelsInProgram")] - public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] out IntPtr kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret); + public unsafe partial int CreateKernelsInProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] out nint kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret); [NativeApi(EntryPoint = "clCreateKernelsInProgram")] - public partial int CreateKernelsInProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] out IntPtr kernels, [Flow(FlowDirection.Out)] out uint num_kernels_ret); + public partial int CreateKernelsInProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] out nint kernels, [Flow(FlowDirection.Out)] out uint num_kernels_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithBinary")] - public unsafe partial IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateProgramWithSource")] - public unsafe partial IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clCreateSampler")] - public unsafe partial IntPtr CreateSampler([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial nint CreateSampler([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clCreateSampler")] - public partial IntPtr CreateSampler([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] out int errcode_ret); + public partial nint CreateSampler([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueBarrier")] - public partial int EnqueueBarrier([Flow(FlowDirection.In)] IntPtr command_queue); + public partial int EnqueueBarrier([Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clEnqueueCopyBuffer")] - public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBuffer")] - public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBuffer")] - public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBuffer")] - public partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueCopyBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyBufferToImage")] - public partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueCopyBufferToImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImage")] - public partial int EnqueueCopyImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr dst_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueCopyImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint dst_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueCopyImageToBuffer")] - public partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] in UIntPtr src_origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueCopyImageToBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] in nuint src_origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapBuffer")] - public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] int* errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] int* errcode_ret); [NativeApi(EntryPoint = "clEnqueueMapImage")] - public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.Out)] out UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] out UIntPtr image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.Out)] out int errcode_ret); + public unsafe partial void* EnqueueMapImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.Out)] out nuint image_row_pitch, [Flow(FlowDirection.Out)] out nuint image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.Out)] out int errcode_ret); [NativeApi(EntryPoint = "clEnqueueMarker")] - public unsafe partial int EnqueueMarker([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueMarker([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueMarker")] - public partial int EnqueueMarker([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueMarker([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNativeKernel")] - public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in IntPtr mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueNativeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] out T0 args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] in nint mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueNDRangeKernel")] - public partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in UIntPtr global_work_offset, [Flow(FlowDirection.In)] in UIntPtr global_work_size, [Flow(FlowDirection.In)] in UIntPtr local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueNdrangeKernel([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] in nuint global_work_offset, [Flow(FlowDirection.In)] in nuint global_work_size, [Flow(FlowDirection.In)] in nuint local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadBuffer")] - public partial int EnqueueReadBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueReadBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueReadImage")] - public partial int EnqueueReadImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueReadImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] out T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueTask")] - public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueTask")] - public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueTask")] - public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueTask([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueTask")] - public partial int EnqueueTask([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public partial int EnqueueTask([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueUnmapMemObject")] - public partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueUnmapMemObject([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] out T0 mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWaitForEvents")] - public unsafe partial int EnqueueWaitForEvents([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] IntPtr* event_list); + public unsafe partial int EnqueueWaitForEvents([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] nint* event_list); [NativeApi(EntryPoint = "clEnqueueWaitForEvents")] - public partial int EnqueueWaitForEvents([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] in IntPtr event_list); + public partial int EnqueueWaitForEvents([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] in nint event_list); [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteBuffer")] - public partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueWriteBuffer([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event); + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event); [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged; + public unsafe partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clEnqueueWriteImage")] - public partial int EnqueueWriteImage([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in UIntPtr origin, [Flow(FlowDirection.In)] in UIntPtr region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in IntPtr event_wait_list, [Flow(FlowDirection.Out)] out IntPtr @event) where T0 : unmanaged; + public partial int EnqueueWriteImage([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] in nuint origin, [Flow(FlowDirection.In)] in nuint region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] in T0 ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] in nint event_wait_list, [Flow(FlowDirection.Out)] out nint @event) where T0 : unmanaged; [NativeApi(EntryPoint = "clFinish")] - public partial int Finish([Flow(FlowDirection.In)] IntPtr command_queue); + public partial int Finish([Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clFlush")] - public partial int Flush([Flow(FlowDirection.In)] IntPtr command_queue); + public partial int Flush([Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clGetCommandQueueInfo")] - public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetCommandQueueInfo")] - public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetCommandQueueInfo")] - public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetCommandQueueInfo([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetCommandQueueInfo")] - public partial int GetCommandQueueInfo([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetCommandQueueInfo([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetContextInfo")] - public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetContextInfo")] - public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetContextInfo")] - public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetContextInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetContextInfo")] - public partial int GetContextInfo([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetContextInfo([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceIDs")] - public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDs")] - public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] out uint num_devices); + public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceIDs")] - public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] uint* num_devices); + public unsafe partial int GetDeviceIDs([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] uint* num_devices); [NativeApi(EntryPoint = "clGetDeviceIDs")] - public partial int GetDeviceIDs([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr devices, [Flow(FlowDirection.Out)] out uint num_devices); + public partial int GetDeviceIDs([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint devices, [Flow(FlowDirection.Out)] out uint num_devices); [NativeApi(EntryPoint = "clGetDeviceInfo")] - public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceInfo")] - public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetDeviceInfo")] - public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetDeviceInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetDeviceInfo")] - public partial int GetDeviceInfo([Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetDeviceInfo([Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetEventInfo")] - public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetEventInfo")] - public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetEventInfo")] - public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetEventInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetEventInfo")] - public partial int GetEventInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetEventInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetEventProfilingInfo")] - public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetEventProfilingInfo")] - public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetEventProfilingInfo")] - public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetEventProfilingInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetEventProfilingInfo")] - public partial int GetEventProfilingInfo([Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetEventProfilingInfo([Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetExtensionFunctionAddress")] public unsafe partial void* GetExtensionFunctionAddress([Flow(FlowDirection.In)] byte* func_name); @@ -3404,178 +3404,178 @@ public unsafe partial class CL : NativeAPI public unsafe partial void* GetExtensionFunctionAddress([Flow(FlowDirection.In)] string func_name); [NativeApi(EntryPoint = "clGetImageInfo")] - public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetImageInfo")] - public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetImageInfo")] - public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetImageInfo([Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetImageInfo")] - public partial int GetImageInfo([Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetImageInfo([Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelInfo")] - public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelInfo")] - public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelInfo")] - public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelInfo")] - public partial int GetKernelInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetKernelInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelWorkGroupInfo")] - public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelWorkGroupInfo")] - public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetKernelWorkGroupInfo")] - public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetKernelWorkGroupInfo")] - public partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetKernelWorkGroupInfo([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemObjectInfo")] - public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetMemObjectInfo")] - public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetMemObjectInfo")] - public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetMemObjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetMemObjectInfo")] - public partial int GetMemObjectInfo([Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetMemObjectInfo([Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetPlatformIDs")] - public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] uint* num_platforms); + public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] uint* num_platforms); [NativeApi(EntryPoint = "clGetPlatformIDs")] - public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] out uint num_platforms); + public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] out uint num_platforms); [NativeApi(EntryPoint = "clGetPlatformIDs")] - public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr platforms, [Flow(FlowDirection.Out)] uint* num_platforms); + public unsafe partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint platforms, [Flow(FlowDirection.Out)] uint* num_platforms); [NativeApi(EntryPoint = "clGetPlatformIDs")] - public partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out IntPtr platforms, [Flow(FlowDirection.Out)] out uint num_platforms); + public partial int GetPlatformIDs([Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out nint platforms, [Flow(FlowDirection.Out)] out uint num_platforms); [NativeApi(EntryPoint = "clGetPlatformInfo")] - public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetPlatformInfo")] - public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetPlatformInfo")] - public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetPlatformInfo([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetPlatformInfo")] - public partial int GetPlatformInfo([Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetPlatformInfo([Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetProgramBuildInfo")] - public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetProgramBuildInfo")] - public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetProgramBuildInfo")] - public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetProgramBuildInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetProgramBuildInfo")] - public partial int GetProgramBuildInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetProgramBuildInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetProgramInfo")] - public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetProgramInfo")] - public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetProgramInfo")] - public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetProgramInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetProgramInfo")] - public partial int GetProgramInfo([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetProgramInfo([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetSamplerInfo")] - public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret); + public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret); [NativeApi(EntryPoint = "clGetSamplerInfo")] - public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret); + public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret); [NativeApi(EntryPoint = "clGetSamplerInfo")] - public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged; + public unsafe partial int GetSamplerInfo([Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetSamplerInfo")] - public partial int GetSamplerInfo([Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out UIntPtr param_value_size_ret) where T0 : unmanaged; + public partial int GetSamplerInfo([Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] out T0 param_value, [Flow(FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged; [NativeApi(EntryPoint = "clGetSupportedImageFormats")] - public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats); + public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats); [NativeApi(EntryPoint = "clGetSupportedImageFormats")] - public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] out uint num_image_formats); + public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] out uint num_image_formats); [NativeApi(EntryPoint = "clGetSupportedImageFormats")] - public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats); + public unsafe partial int GetSupportedImageFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats); [NativeApi(EntryPoint = "clGetSupportedImageFormats")] - public partial int GetSupportedImageFormats([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint image_formats, [Flow(FlowDirection.Out)] out uint num_image_formats); + public partial int GetSupportedImageFormats([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] out uint image_formats, [Flow(FlowDirection.Out)] out uint num_image_formats); [NativeApi(EntryPoint = "clReleaseCommandQueue")] - public partial int ReleaseCommandQueue([Flow(FlowDirection.In)] IntPtr command_queue); + public partial int ReleaseCommandQueue([Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clReleaseContext")] - public partial int ReleaseContext([Flow(FlowDirection.In)] IntPtr context); + public partial int ReleaseContext([Flow(FlowDirection.In)] nint context); [NativeApi(EntryPoint = "clReleaseEvent")] - public partial int ReleaseEvent([Flow(FlowDirection.In)] IntPtr @event); + public partial int ReleaseEvent([Flow(FlowDirection.In)] nint @event); [NativeApi(EntryPoint = "clReleaseKernel")] - public partial int ReleaseKernel([Flow(FlowDirection.In)] IntPtr kernel); + public partial int ReleaseKernel([Flow(FlowDirection.In)] nint kernel); [NativeApi(EntryPoint = "clReleaseMemObject")] - public partial int ReleaseMemObject([Flow(FlowDirection.In)] IntPtr memobj); + public partial int ReleaseMemObject([Flow(FlowDirection.In)] nint memobj); [NativeApi(EntryPoint = "clReleaseProgram")] - public partial int ReleaseProgram([Flow(FlowDirection.In)] IntPtr program); + public partial int ReleaseProgram([Flow(FlowDirection.In)] nint program); [NativeApi(EntryPoint = "clReleaseSampler")] - public partial int ReleaseSampler([Flow(FlowDirection.In)] IntPtr sampler); + public partial int ReleaseSampler([Flow(FlowDirection.In)] nint sampler); [NativeApi(EntryPoint = "clRetainCommandQueue")] - public partial int RetainCommandQueue([Flow(FlowDirection.In)] IntPtr command_queue); + public partial int RetainCommandQueue([Flow(FlowDirection.In)] nint command_queue); [NativeApi(EntryPoint = "clRetainContext")] - public partial int RetainContext([Flow(FlowDirection.In)] IntPtr context); + public partial int RetainContext([Flow(FlowDirection.In)] nint context); [NativeApi(EntryPoint = "clRetainEvent")] - public partial int RetainEvent([Flow(FlowDirection.In)] IntPtr @event); + public partial int RetainEvent([Flow(FlowDirection.In)] nint @event); [NativeApi(EntryPoint = "clRetainKernel")] - public partial int RetainKernel([Flow(FlowDirection.In)] IntPtr kernel); + public partial int RetainKernel([Flow(FlowDirection.In)] nint kernel); [NativeApi(EntryPoint = "clRetainMemObject")] - public partial int RetainMemObject([Flow(FlowDirection.In)] IntPtr memobj); + public partial int RetainMemObject([Flow(FlowDirection.In)] nint memobj); [NativeApi(EntryPoint = "clRetainProgram")] - public partial int RetainProgram([Flow(FlowDirection.In)] IntPtr program); + public partial int RetainProgram([Flow(FlowDirection.In)] nint program); [NativeApi(EntryPoint = "clRetainSampler")] - public partial int RetainSampler([Flow(FlowDirection.In)] IntPtr sampler); + public partial int RetainSampler([Flow(FlowDirection.In)] nint sampler); [NativeApi(EntryPoint = "clSetCommandQueueProperty")] - public unsafe partial int SetCommandQueueProperty([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] CLEnum* old_properties); + public unsafe partial int SetCommandQueueProperty([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] CLEnum* old_properties); [NativeApi(EntryPoint = "clSetCommandQueueProperty")] - public partial int SetCommandQueueProperty([Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] out CLEnum old_properties); + public partial int SetCommandQueueProperty([Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] out CLEnum old_properties); [NativeApi(EntryPoint = "clSetKernelArg")] - public unsafe partial int SetKernelArg([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] UIntPtr arg_size, [Flow(FlowDirection.In)] void* arg_value); + public unsafe partial int SetKernelArg([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] nuint arg_size, [Flow(FlowDirection.In)] void* arg_value); [NativeApi(EntryPoint = "clSetKernelArg")] - public partial int SetKernelArg([Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] UIntPtr arg_size, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; + public partial int SetKernelArg([Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] nuint arg_size, [Flow(FlowDirection.In)] in T0 arg_value) where T0 : unmanaged; [NativeApi(EntryPoint = "clUnloadCompiler")] public unsafe partial int UnloadCompiler([Flow(FlowDirection.In)] void* unnamedParameter0); @@ -3584,448 +3584,448 @@ public unsafe partial class CL : NativeAPI public partial int UnloadCompiler([Flow(FlowDirection.In)] in T0 unnamedParameter0) where T0 : unmanaged; [NativeApi(EntryPoint = "clWaitForEvents")] - public unsafe partial int WaitForEvents([Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] IntPtr* event_list); + public unsafe partial int WaitForEvents([Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] nint* event_list); [NativeApi(EntryPoint = "clWaitForEvents")] - public partial int WaitForEvents([Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] in IntPtr event_list); + public partial int WaitForEvents([Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] in nint event_list); - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, in options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, in options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, in options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, in options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, in options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, in options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, in options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in byte options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, in options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe int CompileProgram([Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in IntPtr input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged + public unsafe int CompileProgram([Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] in nint input_headers, [Flow(FlowDirection.In)] string[] header_include_namesSa, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] out T0 user_data) where T0 : unmanaged { // StringArrayOverloader var header_include_names = (byte**) SilkMarshal.StringArrayToPtr(header_include_namesSa); var ret = CompileProgram(program, num_devices, in device_list, options, num_input_headers, in input_headers, header_include_names, pfn_notify, out user_data); - SilkMarshal.CopyPtrToStringArray((IntPtr) header_include_names, header_include_namesSa); - SilkMarshal.Free((IntPtr) header_include_names); + SilkMarshal.CopyPtrToStringArray((nint) header_include_names, header_include_namesSa); + SilkMarshal.Free((nint) header_include_names); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, out binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, out binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, in lengths, binaries, binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, in lengths, binaries, binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, in lengths, binaries, out binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, device_list, in lengths, binaries, out binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, lengths, binaries, binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, lengths, binaries, binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, lengths, binaries, out binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, lengths, binaries, out binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, in lengths, binaries, binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, in lengths, binaries, binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, in lengths, binaries, out binary_status, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithBinary([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in IntPtr device_list, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithBinary([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] in nint device_list, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.In)] string[] binariesSa, [Flow(FlowDirection.Out)] out int binary_status, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var binaries = (byte**) SilkMarshal.StringArrayToPtr(binariesSa); var ret = CreateProgramWithBinary(context, num_devices, in device_list, in lengths, binaries, out binary_status, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) binaries, binariesSa); - SilkMarshal.Free((IntPtr) binaries); + SilkMarshal.CopyPtrToStringArray((nint) binaries, binariesSa); + SilkMarshal.Free((nint) binaries); return ret; } - public unsafe IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateProgramWithSource(context, count, strings, lengths, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } - public unsafe IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateProgramWithSource(context, count, strings, lengths, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } - public unsafe IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] int* errcode_ret) + public unsafe nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] int* errcode_ret) { // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateProgramWithSource(context, count, strings, in lengths, errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } - public unsafe IntPtr CreateProgramWithSource([Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] in UIntPtr lengths, [Flow(FlowDirection.Out)] out int errcode_ret) + public unsafe nint CreateProgramWithSource([Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] string[] stringsSa, [Flow(FlowDirection.In)] in nuint lengths, [Flow(FlowDirection.Out)] out int errcode_ret) { // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateProgramWithSource(context, count, strings, in lengths, out errcode_ret); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } diff --git a/src/OpenCL/Silk.NET.OpenCL/CLOverloads.gen.cs b/src/OpenCL/Silk.NET.OpenCL/CLOverloads.gen.cs index ad69c08f2d..e5baef43c5 100644 --- a/src/OpenCL/Silk.NET.OpenCL/CLOverloads.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/CLOverloads.gen.cs @@ -18,5659 +18,5659 @@ namespace Silk.NET.OpenCL { public static class CLOverloads { - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, properties, flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBufferWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBufferWithProperties(context, in properties.GetPinnableReference(), flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), image_desc, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, properties, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, image_desc, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), image_desc, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImageWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImageWithProperties(context, in properties.GetPinnableReference(), flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe int SetContextDestructorCallback(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int SetContextDestructorCallback(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.SetContextDestructorCallback(context, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int SetProgramReleaseCallback(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int SetProgramReleaseCallback(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.SetProgramReleaseCallback(program, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int SetProgramSpecializationConstant(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] UIntPtr spec_size, [Flow(FlowDirection.In)] ReadOnlySpan spec_value) where T0 : unmanaged + public static unsafe int SetProgramSpecializationConstant(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint spec_id, [Flow(FlowDirection.In)] nuint spec_size, [Flow(FlowDirection.In)] ReadOnlySpan spec_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetProgramSpecializationConstant(program, spec_id, spec_size, in spec_value.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void* il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithIL(context, il, length, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateProgramWithIL(context, in il.GetPinnableReference(), length, errcode_ret); } - public static unsafe IntPtr CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateProgramWithIL(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan il, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateProgramWithIL(context, in il.GetPinnableReference(), length, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, sizes, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, sizes, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, sizes, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] void** svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, sizes, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, sizes, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] UIntPtr* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] nuint* sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, sizes, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmigrateMem(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.In)] in void* svm_pointers, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmigrateMem(command_queue, num_svm_pointers, in svm_pointers, in sizes.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] Span host_timestamp) + public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] ulong* device_timestamp, [Flow(FlowDirection.Out)] Span host_timestamp) { // SpanOverloader return thisApi.GetDeviceAndHostTimer(device, device_timestamp, out host_timestamp.GetPinnableReference()); } - public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] Span device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp) + public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] Span device_timestamp, [Flow(FlowDirection.Out)] ulong* host_timestamp) { // SpanOverloader return thisApi.GetDeviceAndHostTimer(device, out device_timestamp.GetPinnableReference(), host_timestamp); } - public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] Span device_timestamp, [Flow(FlowDirection.Out)] Span host_timestamp) + public static unsafe int GetDeviceAndHostTimer(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] Span device_timestamp, [Flow(FlowDirection.Out)] Span host_timestamp) { // SpanOverloader return thisApi.GetDeviceAndHostTimer(device, out device_timestamp.GetPinnableReference(), out host_timestamp.GetPinnableReference()); } - public static unsafe int GetHostTimer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.Out)] Span host_timestamp) + public static unsafe int GetHostTimer(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.Out)] Span host_timestamp) { // SpanOverloader return thisApi.GetHostTimer(device, out host_timestamp.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, input_value, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, input_value, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] void* input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, input_value, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, param_value, param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged + public static unsafe int GetKernelSubGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint input_value_size, [Flow(FlowDirection.In)] ReadOnlySpan input_value, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.GetKernelSubGroupInfo(kernel, device, param_name, input_value_size, in input_value.GetPinnableReference(), param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe IntPtr OneKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr source_kernel, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint OneKernel(this CL thisApi, [Flow(FlowDirection.In)] nint source_kernel, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.OneKernel(source_kernel, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum* properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, in properties.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateCommandQueueWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueueWithProperties(context, device, in properties.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreatePipe(context, flags, pipe_packet_size, pipe_max_packets, properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreatePipe(context, flags, pipe_packet_size, pipe_max_packets, in properties.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreatePipe(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint pipe_packet_size, [Flow(FlowDirection.In)] uint pipe_max_packets, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreatePipe(context, flags, pipe_packet_size, pipe_max_packets, in properties.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum* sampler_properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateSamplerWithProperties(context, sampler_properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan sampler_properties, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateSamplerWithProperties(context, in sampler_properties.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] ReadOnlySpan sampler_properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateSamplerWithProperties(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] ReadOnlySpan sampler_properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateSamplerWithProperties(context, in sampler_properties.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] void* svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, svm_pointers, pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, user_data, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmfree(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_svm_pointers, [Flow(FlowDirection.Out)] Span svm_pointers, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] FreeCallback pfn_free_func, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmfree(command_queue, num_svm_pointers, out svm_pointers.GetPinnableReference(), pfn_free_func, out user_data.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmap(command_queue, blocking_map, flags, out svm_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] void* dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, dst_ptr, in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] void* src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), src_ptr, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemcpy(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] bool blocking_copy, [Flow(FlowDirection.Out)] Span dst_ptr, [Flow(FlowDirection.In)] ReadOnlySpan src_ptr, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemcpy(command_queue, blocking_copy, out dst_ptr.GetPinnableReference(), in src_ptr.GetPinnableReference(), size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, svm_ptr, in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), pattern, pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged + public static unsafe int EnqueueSvmmemFill(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged where T1 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmmemFill(command_queue, out svm_ptr.GetPinnableReference(), in pattern.GetPinnableReference(), pattern_size, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] void* svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, svm_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueSvmunmap(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span svm_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueSvmunmap(command_queue, out svm_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetPipeInfo(pipe, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetPipeInfo(pipe, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetPipeInfo(this CL thisApi, [Flow(FlowDirection.In)] nint pipe, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetPipeInfo(pipe, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int SetKernelArgSvmpointer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged + public static unsafe int SetKernelArgSvmpointer(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelArgSvmpointer(kernel, arg_index, in arg_value.GetPinnableReference()); } - public static unsafe int SetKernelExecInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.In)] ReadOnlySpan param_value) where T0 : unmanaged + public static unsafe int SetKernelExecInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.In)] ReadOnlySpan param_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelExecInfo(kernel, param_name, param_value_size, in param_value.GetPinnableReference()); } - public static unsafe void Svmfree(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] Span svm_pointer) where T0 : unmanaged + public static unsafe void Svmfree(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] Span svm_pointer) where T0 : unmanaged { // SpanOverloader thisApi.Svmfree(context, out svm_pointer.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, input_headers, header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, input_headers, in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, device_list, options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, input_headers, header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, input_headers, in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] IntPtr* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] nint* input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, input_headers, in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] byte** header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, user_data); } - public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int CompileProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_headers, [Flow(FlowDirection.In)] ReadOnlySpan input_headers, [Flow(FlowDirection.In)] in byte* header_include_names, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.CompileProgram(program, num_devices, in device_list.GetPinnableReference(), options, num_input_headers, in input_headers.GetPinnableReference(), in header_include_names, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, image_format, in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), image_desc, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), image_desc, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ImageDesc* image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), image_desc, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] ReadOnlySpan image_desc, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage(context, flags, in image_format.GetPinnableReference(), in image_desc.GetPinnableReference(), out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, device_list, kernel_names, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, device_list, in kernel_names.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, device_list, in kernel_names.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, device_list, kernel_names, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), kernel_names, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), kernel_names, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), in kernel_names.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), in kernel_names.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), kernel_names, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBuiltInKernel(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string kernel_names, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBuiltInKernel(context, num_devices, in device_list.GetPinnableReference(), kernel_names, out errcode_ret.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_devices, out_devices, out num_devices_ret.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_devices, out out_devices.GetPinnableReference(), num_devices_ret); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, properties, num_devices, out out_devices.GetPinnableReference(), out num_devices_ret.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_devices, out_devices, num_devices_ret); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] IntPtr* out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] nint* out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_devices, out_devices, out num_devices_ret.GetPinnableReference()); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] uint* num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_devices, out out_devices.GetPinnableReference(), num_devices_ret); } - public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] IntPtr in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) + public static unsafe int CreateSubDevices(this CL thisApi, [Flow(FlowDirection.In)] nint in_device, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.Out)] Span out_devices, [Flow(FlowDirection.Out)] Span num_devices_ret) { // SpanOverloader return thisApi.CreateSubDevices(in_device, in properties.GetPinnableReference(), num_devices, out out_devices.GetPinnableReference(), out num_devices_ret.GetPinnableReference()); } - public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueBarrierWithWaitList(command_queue, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueBarrierWithWaitList(command_queue, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueBarrierWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueBarrierWithWaitList(command_queue, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, pattern, pattern_size, offset, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, pattern, pattern_size, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] void* pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, pattern, pattern_size, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, in pattern.GetPinnableReference(), pattern_size, offset, size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, in pattern.GetPinnableReference(), pattern_size, offset, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, in pattern.GetPinnableReference(), pattern_size, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] UIntPtr pattern_size, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] ReadOnlySpan pattern, [Flow(FlowDirection.In)] nuint pattern_size, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillBuffer(command_queue, buffer, in pattern.GetPinnableReference(), pattern_size, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] void* fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, fill_color, in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueFillImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan fill_color, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueFillImage(command_queue, image, in fill_color.GetPinnableReference(), in origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMarkerWithWaitList(command_queue, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMarkerWithWaitList(command_queue, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMarkerWithWaitList(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMarkerWithWaitList(command_queue, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, mem_objects, flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMigrateMemObjects(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_objects, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMigrateMemObjects(command_queue, num_mem_objects, in mem_objects.GetPinnableReference(), flags, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe void* GetExtensionFunctionAddressForPlatform(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] ReadOnlySpan func_name) + public static unsafe void* GetExtensionFunctionAddressForPlatform(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] ReadOnlySpan func_name) { // SpanOverloader return thisApi.GetExtensionFunctionAddressForPlatform(platform, in func_name.GetPinnableReference()); } - public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetKernelArgInfo(kernel, arg_index, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelArgInfo(kernel, arg_index, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelArgInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelArgInfo(kernel, arg_index, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, device_list, options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] IntPtr* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] nint* input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, input_programs, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint LinkProgram(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In)] uint num_input_programs, [Flow(FlowDirection.In)] ReadOnlySpan input_programs, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.LinkProgram(context, num_devices, in device_list.GetPinnableReference(), options, num_input_programs, in input_programs.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] void* buffer_create_info, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateSubBuffer(buffer, flags, buffer_create_type, buffer_create_info, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] ReadOnlySpan buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] ReadOnlySpan buffer_create_info, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateSubBuffer(buffer, flags, buffer_create_type, in buffer_create_info.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] ReadOnlySpan buffer_create_info, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateSubBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint buffer_create_type, [Flow(FlowDirection.In)] ReadOnlySpan buffer_create_info, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateSubBuffer(buffer, flags, buffer_create_type, in buffer_create_info.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateUserEvent(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateUserEvent(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateUserEvent(context, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr src_row_pitch, [Flow(FlowDirection.In)] UIntPtr src_slice_pitch, [Flow(FlowDirection.In)] UIntPtr dst_row_pitch, [Flow(FlowDirection.In)] UIntPtr dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint src_row_pitch, [Flow(FlowDirection.In)] nuint src_slice_pitch, [Flow(FlowDirection.In)] nuint dst_row_pitch, [Flow(FlowDirection.In)] nuint dst_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBufferRect(command_queue, buffer, blocking_read, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, buffer_origin, in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] UIntPtr* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] nuint* host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), host_origin, in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr buffer_row_pitch, [Flow(FlowDirection.In)] UIntPtr buffer_slice_pitch, [Flow(FlowDirection.In)] UIntPtr host_row_pitch, [Flow(FlowDirection.In)] UIntPtr host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBufferRect(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan buffer_origin, [Flow(FlowDirection.In)] ReadOnlySpan host_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint buffer_row_pitch, [Flow(FlowDirection.In)] nuint buffer_slice_pitch, [Flow(FlowDirection.In)] nuint host_row_pitch, [Flow(FlowDirection.In)] nuint host_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBufferRect(command_queue, buffer, blocking_write, in buffer_origin.GetPinnableReference(), in host_origin.GetPinnableReference(), in region.GetPinnableReference(), buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int SetEventCallback(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int SetEventCallback(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] int command_exec_callback_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.SetEventCallback(@event, command_exec_callback_type, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int SetMemObjectDestructorCallback(this CL thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int SetMemObjectDestructorCallback(this CL thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.SetMemObjectDestructorCallback(memobj, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, device_list, options, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.BuildProgram(program, num_devices, device_list, in options.GetPinnableReference(), pfn_notify, user_data); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, device_list, in options.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, device_list, options, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), options, pfn_notify, user_data); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] byte* options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), options, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), pfn_notify, user_data); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), in options.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data) { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), options, pfn_notify, user_data); } - public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged + public static unsafe int BuildProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] string options, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data) where T0 : unmanaged { // SpanOverloader return thisApi.BuildProgram(program, num_devices, in device_list.GetPinnableReference(), options, pfn_notify, out user_data.GetPinnableReference()); } - public static unsafe IntPtr CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateBuffer(context, flags, size, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBuffer(context, flags, size, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateBuffer(context, flags, size, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateCommandQueue(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateCommandQueue(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateCommandQueue(context, device, properties, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContext(properties, num_devices, devices, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(properties, num_devices, devices, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(properties, num_devices, devices, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateContext(properties, num_devices, in devices.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContext(properties, num_devices, in devices.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(properties, num_devices, in devices.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(properties, num_devices, in devices.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, devices, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, devices, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, devices, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, devices, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, in devices.GetPinnableReference(), pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, in devices.GetPinnableReference(), pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, in devices.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContext(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan devices, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContext(in properties.GetPinnableReference(), num_devices, in devices.GetPinnableReference(), pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContextFromType(properties, device_type, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContextFromType(properties, device_type, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] IntPtr* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] nint* properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContextFromType(properties, device_type, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateContextFromType(in properties.GetPinnableReference(), device_type, pfn_notify, user_data, errcode_ret); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] void* user_data, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateContextFromType(in properties.GetPinnableReference(), device_type, pfn_notify, user_data, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContextFromType(in properties.GetPinnableReference(), device_type, pfn_notify, out user_data.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateContextFromType(this CL thisApi, [Flow(FlowDirection.In)] ReadOnlySpan properties, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In), PinObjectAttribute(PinMode.UntilNextCall)] NotifyCallback pfn_notify, [Flow(FlowDirection.Out)] Span user_data, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateContextFromType(in properties.GetPinnableReference(), device_type, pfn_notify, out user_data.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage2D(context, flags, image_format, image_width, image_height, image_row_pitch, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage2D(context, flags, image_format, image_width, image_height, image_row_pitch, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage2D(context, flags, image_format, image_width, image_height, image_row_pitch, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImage2D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_row_pitch, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage2D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_row_pitch, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage2D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_row_pitch, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage2D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage2D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_row_pitch, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage3D(context, flags, image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage3D(context, flags, image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint* image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage3D(context, flags, image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateImage3D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, errcode_ret); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] void* host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateImage3D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] int* errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage3D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, out host_ptr.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] UIntPtr image_width, [Flow(FlowDirection.In)] UIntPtr image_height, [Flow(FlowDirection.In)] UIntPtr image_depth, [Flow(FlowDirection.In)] UIntPtr image_row_pitch, [Flow(FlowDirection.In)] UIntPtr image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged + public static unsafe nint CreateImage3D(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] ReadOnlySpan image_format, [Flow(FlowDirection.In)] nuint image_width, [Flow(FlowDirection.In)] nuint image_height, [Flow(FlowDirection.In)] nuint image_depth, [Flow(FlowDirection.In)] nuint image_row_pitch, [Flow(FlowDirection.In)] nuint image_slice_pitch, [Flow(FlowDirection.Out)] Span host_ptr, [Flow(FlowDirection.Out)] Span errcode_ret) where T0 : unmanaged { // SpanOverloader return thisApi.CreateImage3D(context, flags, in image_format.GetPinnableReference(), image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, out host_ptr.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] byte* kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateKernel(program, kernel_name, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] ReadOnlySpan kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] ReadOnlySpan kernel_name, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateKernel(program, in kernel_name.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] ReadOnlySpan kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] ReadOnlySpan kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateKernel(program, in kernel_name.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateKernel(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] string kernel_name, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateKernel(program, kernel_name, out errcode_ret.GetPinnableReference()); } - public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] IntPtr* kernels, [Flow(FlowDirection.Out)] Span num_kernels_ret) + public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] nint* kernels, [Flow(FlowDirection.Out)] Span num_kernels_ret) { // SpanOverloader return thisApi.CreateKernelsInProgram(program, num_kernels, kernels, out num_kernels_ret.GetPinnableReference()); } - public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] Span kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret) + public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] Span kernels, [Flow(FlowDirection.Out)] uint* num_kernels_ret) { // SpanOverloader return thisApi.CreateKernelsInProgram(program, num_kernels, out kernels.GetPinnableReference(), num_kernels_ret); } - public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] Span kernels, [Flow(FlowDirection.Out)] Span num_kernels_ret) + public static unsafe int CreateKernelsInProgram(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint num_kernels, [Flow(FlowDirection.Out)] Span kernels, [Flow(FlowDirection.Out)] Span num_kernels_ret) { // SpanOverloader return thisApi.CreateKernelsInProgram(program, num_kernels, out kernels.GetPinnableReference(), out num_kernels_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, in binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, in binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, lengths, in binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), in binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), in binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), in binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] IntPtr* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] nint* device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, device_list, in lengths.GetPinnableReference(), in binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, in binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, in binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, in binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), lengths, in binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] byte** binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), in binaries, binary_status, errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] int* binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), in binaries, binary_status, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), in binaries, out binary_status.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithBinary(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint num_devices, [Flow(FlowDirection.In)] ReadOnlySpan device_list, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.In)] in byte* binaries, [Flow(FlowDirection.Out)] Span binary_status, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithBinary(context, num_devices, in device_list.GetPinnableReference(), in lengths.GetPinnableReference(), in binaries, out binary_status.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, strings, lengths, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, strings, in lengths.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] byte** strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, strings, in lengths.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] UIntPtr* lengths, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] nuint* lengths, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, in strings, lengths, out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, in strings, in lengths.GetPinnableReference(), errcode_ret); } - public static unsafe IntPtr CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateProgramWithSource(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in byte* strings, [Flow(FlowDirection.In)] ReadOnlySpan lengths, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateProgramWithSource(context, count, in strings, in lengths.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe IntPtr CreateSampler(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe nint CreateSampler(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] bool normalized_coords, [Flow(FlowDirection.In)] uint addressing_mode, [Flow(FlowDirection.In)] uint filter_mode, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.CreateSampler(context, normalized_coords, addressing_mode, filter_mode, out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_buffer, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyBufferToImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_buffer, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint src_offset, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), dst_origin, in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), region, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_image, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan dst_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImage(command_queue, src_image, dst_image, in src_origin.GetPinnableReference(), in dst_origin.GetPinnableReference(), in region.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] UIntPtr* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] nuint* src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), region, dst_offset, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), region, dst_offset, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), region, dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), region, dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr src_image, [Flow(FlowDirection.In)] IntPtr dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueCopyImageToBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint src_image, [Flow(FlowDirection.In)] nint dst_buffer, [Flow(FlowDirection.In)] ReadOnlySpan src_origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint dst_offset, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, in src_origin.GetPinnableReference(), in region.GetPinnableReference(), dst_offset, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, origin, in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), region, out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] UIntPtr* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] nuint* image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), image_row_pitch, out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] UIntPtr* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] nuint* image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), image_slice_pitch, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event, out errcode_ret.GetPinnableReference()); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] int* errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), errcode_ret); } - public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) + public static unsafe void* EnqueueMapImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_map, [Flow(FlowDirection.In)] CLEnum map_flags, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.Out)] Span image_row_pitch, [Flow(FlowDirection.Out)] Span image_slice_pitch, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.Out)] Span errcode_ret) { // SpanOverloader return thisApi.EnqueueMapImage(command_queue, image, blocking_map, map_flags, in origin.GetPinnableReference(), in region.GetPinnableReference(), out image_row_pitch.GetPinnableReference(), out image_slice_pitch.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference(), out errcode_ret.GetPinnableReference()); } - public static unsafe int EnqueueMarker(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueMarker(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueMarker(command_queue, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] void* args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, args, cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] IntPtr* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] nint* mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, mem_list, in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] void** args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] UIntPtr cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueNativeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] PfnVoidFunction user_func, [Flow(FlowDirection.Out)] Span args, [Flow(FlowDirection.In)] nuint cb_args, [Flow(FlowDirection.In)] uint num_mem_objects, [Flow(FlowDirection.In)] ReadOnlySpan mem_list, [Flow(FlowDirection.In)] in void* args_mem_loc, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueNativeKernel(command_queue, user_func, out args.GetPinnableReference(), cb_args, num_mem_objects, in mem_list.GetPinnableReference(), in args_mem_loc, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, local_work_size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] UIntPtr* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] nuint* global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, global_work_offset, in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, local_work_size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, local_work_size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] UIntPtr* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] nuint* global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), global_work_size, in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] UIntPtr* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] nuint* local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), local_work_size, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueNdrangeKernel(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint work_dim, [Flow(FlowDirection.In)] ReadOnlySpan global_work_offset, [Flow(FlowDirection.In)] ReadOnlySpan global_work_size, [Flow(FlowDirection.In)] ReadOnlySpan local_work_size, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueNdrangeKernel(command_queue, kernel, work_dim, in global_work_offset.GetPinnableReference(), in global_work_size.GetPinnableReference(), in local_work_size.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadBuffer(command_queue, buffer, blocking_read, offset, size, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, origin, in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), region, row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr row_pitch, [Flow(FlowDirection.In)] UIntPtr slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueReadImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_read, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint row_pitch, [Flow(FlowDirection.In)] nuint slice_pitch, [Flow(FlowDirection.Out)] Span ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueReadImage(command_queue, image, blocking_read, in origin.GetPinnableReference(), in region.GetPinnableReference(), row_pitch, slice_pitch, out ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueTask(command_queue, kernel, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueTask(command_queue, kernel, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueTask(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueTask(command_queue, kernel, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] void* mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, out mapped_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, out mapped_ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, out mapped_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueUnmapMemObject(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.Out)] Span mapped_ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueUnmapMemObject(command_queue, memobj, out mapped_ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWaitForEvents(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] ReadOnlySpan event_list) + public static unsafe int EnqueueWaitForEvents(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] ReadOnlySpan event_list) { // SpanOverloader return thisApi.EnqueueWaitForEvents(command_queue, num_events, in event_list.GetPinnableReference()); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteBuffer(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, size, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] UIntPtr* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] nuint* origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, origin, in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] UIntPtr* region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] nuint* region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), region, input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] void* ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] IntPtr* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] nint* event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, event_wait_list, out @event.GetPinnableReference()); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] IntPtr* @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] nint* @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), @event); } - public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] UIntPtr input_row_pitch, [Flow(FlowDirection.In)] UIntPtr input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged + public static unsafe int EnqueueWriteImage(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] bool blocking_write, [Flow(FlowDirection.In)] ReadOnlySpan origin, [Flow(FlowDirection.In)] ReadOnlySpan region, [Flow(FlowDirection.In)] nuint input_row_pitch, [Flow(FlowDirection.In)] nuint input_slice_pitch, [Flow(FlowDirection.In)] ReadOnlySpan ptr, [Flow(FlowDirection.In)] uint num_events_in_wait_list, [Flow(FlowDirection.In)] ReadOnlySpan event_wait_list, [Flow(FlowDirection.Out)] Span @event) where T0 : unmanaged { // SpanOverloader return thisApi.EnqueueWriteImage(command_queue, image, blocking_write, in origin.GetPinnableReference(), in region.GetPinnableReference(), input_row_pitch, input_slice_pitch, in ptr.GetPinnableReference(), num_events_in_wait_list, in event_wait_list.GetPinnableReference(), out @event.GetPinnableReference()); } - public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetCommandQueueInfo(command_queue, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetCommandQueueInfo(command_queue, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetCommandQueueInfo(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetCommandQueueInfo(command_queue, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetContextInfo(context, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetContextInfo(context, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetContextInfo(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetContextInfo(context, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDs(platform, device_type, num_entries, devices, out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) + public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] uint* num_devices) { // SpanOverloader return thisApi.GetDeviceIDs(platform, device_type, num_entries, out devices.GetPinnableReference(), num_devices); } - public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) + public static unsafe int GetDeviceIDs(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] CLEnum device_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span devices, [Flow(FlowDirection.Out)] Span num_devices) { // SpanOverloader return thisApi.GetDeviceIDs(platform, device_type, num_entries, out devices.GetPinnableReference(), out num_devices.GetPinnableReference()); } - public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetDeviceInfo(device, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceInfo(device, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetDeviceInfo(this CL thisApi, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetDeviceInfo(device, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetEventInfo(@event, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetEventInfo(@event, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetEventInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetEventInfo(@event, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetEventProfilingInfo(@event, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetEventProfilingInfo(@event, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDirection.In)] nint @event, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetEventProfilingInfo(@event, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); @@ -5682,193 +5682,193 @@ public static unsafe int GetEventProfilingInfo(this CL thisApi, [Flow(FlowDi return thisApi.GetExtensionFunctionAddress(in func_name.GetPinnableReference()); } - public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetImageInfo(image, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetImageInfo(image, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetImageInfo(this CL thisApi, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetImageInfo(image, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetKernelInfo(kernel, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelInfo(kernel, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelInfo(kernel, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetKernelWorkGroupInfo(kernel, device, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelWorkGroupInfo(kernel, device, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetKernelWorkGroupInfo(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetKernelWorkGroupInfo(kernel, device, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetMemObjectInfo(memobj, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemObjectInfo(memobj, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetMemObjectInfo(this CL thisApi, [Flow(FlowDirection.In)] nint memobj, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetMemObjectInfo(memobj, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] IntPtr* platforms, [Flow(FlowDirection.Out)] Span num_platforms) + public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] nint* platforms, [Flow(FlowDirection.Out)] Span num_platforms) { // SpanOverloader return thisApi.GetPlatformIDs(num_entries, platforms, out num_platforms.GetPinnableReference()); } - public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] uint* num_platforms) + public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] uint* num_platforms) { // SpanOverloader return thisApi.GetPlatformIDs(num_entries, out platforms.GetPinnableReference(), num_platforms); } - public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] Span num_platforms) + public static unsafe int GetPlatformIDs(this CL thisApi, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span platforms, [Flow(FlowDirection.Out)] Span num_platforms) { // SpanOverloader return thisApi.GetPlatformIDs(num_entries, out platforms.GetPinnableReference(), out num_platforms.GetPinnableReference()); } - public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetPlatformInfo(platform, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetPlatformInfo(platform, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetPlatformInfo(this CL thisApi, [Flow(FlowDirection.In)] nint platform, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetPlatformInfo(platform, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetProgramBuildInfo(program, device, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetProgramBuildInfo(program, device, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] IntPtr device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetProgramBuildInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] nint device, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetProgramBuildInfo(program, device, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetProgramInfo(program, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetProgramInfo(program, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetProgramInfo(this CL thisApi, [Flow(FlowDirection.In)] nint program, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetProgramInfo(program, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) + public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] void* param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) { // SpanOverloader return thisApi.GetSamplerInfo(sampler, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] UIntPtr* param_value_size_ret) where T0 : unmanaged + public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetSamplerInfo(sampler, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret); } - public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] IntPtr sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged + public static unsafe int GetSamplerInfo(this CL thisApi, [Flow(FlowDirection.In)] nint sampler, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span param_value, [Flow(FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged { // SpanOverloader return thisApi.GetSamplerInfo(sampler, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()); } - public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] Span num_image_formats) + public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] uint* image_formats, [Flow(FlowDirection.Out)] Span num_image_formats) { // SpanOverloader return thisApi.GetSupportedImageFormats(context, flags, image_type, num_entries, image_formats, out num_image_formats.GetPinnableReference()); } - public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats) + public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span image_formats, [Flow(FlowDirection.Out)] uint* num_image_formats) { // SpanOverloader return thisApi.GetSupportedImageFormats(context, flags, image_type, num_entries, out image_formats.GetPinnableReference(), num_image_formats); } - public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span image_formats, [Flow(FlowDirection.Out)] Span num_image_formats) + public static unsafe int GetSupportedImageFormats(this CL thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] CLEnum flags, [Flow(FlowDirection.In)] uint image_type, [Flow(FlowDirection.In)] uint num_entries, [Flow(FlowDirection.Out)] Span image_formats, [Flow(FlowDirection.Out)] Span num_image_formats) { // SpanOverloader return thisApi.GetSupportedImageFormats(context, flags, image_type, num_entries, out image_formats.GetPinnableReference(), out num_image_formats.GetPinnableReference()); } - public static unsafe int SetCommandQueueProperty(this CL thisApi, [Flow(FlowDirection.In)] IntPtr command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] Span old_properties) + public static unsafe int SetCommandQueueProperty(this CL thisApi, [Flow(FlowDirection.In)] nint command_queue, [Flow(FlowDirection.In)] CLEnum properties, [Flow(FlowDirection.In)] bool enable, [Flow(FlowDirection.Out)] Span old_properties) { // SpanOverloader return thisApi.SetCommandQueueProperty(command_queue, properties, enable, out old_properties.GetPinnableReference()); } - public static unsafe int SetKernelArg(this CL thisApi, [Flow(FlowDirection.In)] IntPtr kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] UIntPtr arg_size, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged + public static unsafe int SetKernelArg(this CL thisApi, [Flow(FlowDirection.In)] nint kernel, [Flow(FlowDirection.In)] uint arg_index, [Flow(FlowDirection.In)] nuint arg_size, [Flow(FlowDirection.In)] ReadOnlySpan arg_value) where T0 : unmanaged { // SpanOverloader return thisApi.SetKernelArg(kernel, arg_index, arg_size, in arg_value.GetPinnableReference()); @@ -5880,7 +5880,7 @@ public static unsafe int UnloadCompiler(this CL thisApi, [Flow(FlowDirection return thisApi.UnloadCompiler(in unnamedParameter0.GetPinnableReference()); } - public static unsafe int WaitForEvents(this CL thisApi, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] ReadOnlySpan event_list) + public static unsafe int WaitForEvents(this CL thisApi, [Flow(FlowDirection.In)] uint num_events, [Flow(FlowDirection.In)] ReadOnlySpan event_list) { // SpanOverloader return thisApi.WaitForEvents(num_events, in event_list.GetPinnableReference()); diff --git a/src/OpenCL/Silk.NET.OpenCL/FreeCallback.cs b/src/OpenCL/Silk.NET.OpenCL/FreeCallback.cs index 78a66d1240..cdf5846551 100644 --- a/src/OpenCL/Silk.NET.OpenCL/FreeCallback.cs +++ b/src/OpenCL/Silk.NET.OpenCL/FreeCallback.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenCL { - public unsafe delegate void FreeCallback(IntPtr queue, uint numSvmPointers, void** svmPointers, void* userData); + public unsafe delegate void FreeCallback(nint queue, uint numSvmPointers, void** svmPointers, void* userData); } diff --git a/src/OpenCL/Silk.NET.OpenCL/NotifyCallback.cs b/src/OpenCL/Silk.NET.OpenCL/NotifyCallback.cs index 314a83d20d..46d27dc99f 100644 --- a/src/OpenCL/Silk.NET.OpenCL/NotifyCallback.cs +++ b/src/OpenCL/Silk.NET.OpenCL/NotifyCallback.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenCL { - public unsafe delegate void NotifyCallback(byte* errinfo, void* privateInfo, UIntPtr cb, void* userData); + public unsafe delegate void NotifyCallback(byte* errinfo, void* privateInfo, nuint cb, void* userData); } diff --git a/src/OpenCL/Silk.NET.OpenCL/Structs/BufferRegion.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Structs/BufferRegion.gen.cs index 9ba048b8d3..93b7aa4a97 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Structs/BufferRegion.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Structs/BufferRegion.gen.cs @@ -23,8 +23,8 @@ public unsafe partial struct BufferRegion { public BufferRegion ( - UIntPtr? origin = null, - UIntPtr? size = null + nuint? origin = null, + nuint? size = null ) : this() { if (origin is not null) @@ -42,11 +42,11 @@ public BufferRegion [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "origin")] - public UIntPtr Origin; + public nuint Origin; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "size")] - public UIntPtr Size; + public nuint Size; } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Structs/Dx9SurfaceInfoKhr.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Structs/Dx9SurfaceInfoKhr.gen.cs index 1a172d00ff..3aadac5705 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Structs/Dx9SurfaceInfoKhr.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Structs/Dx9SurfaceInfoKhr.gen.cs @@ -24,7 +24,7 @@ public unsafe partial struct Dx9SurfaceInfoKhr public Dx9SurfaceInfoKhr ( void* resource = null, - IntPtr? sharedHandle = null + nint? sharedHandle = null ) : this() { if (resource is not null) @@ -47,6 +47,6 @@ public Dx9SurfaceInfoKhr [NativeName("Type", "HANDLE")] [NativeName("Type.Name", "HANDLE")] [NativeName("Name", "shared_handle")] - public IntPtr SharedHandle; + public nint SharedHandle; } } diff --git a/src/OpenCL/Silk.NET.OpenCL/Structs/ImageDesc.gen.cs b/src/OpenCL/Silk.NET.OpenCL/Structs/ImageDesc.gen.cs index 1cf970e290..a5ef6761fd 100644 --- a/src/OpenCL/Silk.NET.OpenCL/Structs/ImageDesc.gen.cs +++ b/src/OpenCL/Silk.NET.OpenCL/Structs/ImageDesc.gen.cs @@ -24,12 +24,12 @@ public unsafe partial struct ImageDesc public ImageDesc ( uint? imageType = null, - UIntPtr? imageWidth = null, - UIntPtr? imageHeight = null, - UIntPtr? imageDepth = null, - UIntPtr? imageArraySize = null, - UIntPtr? imageRowPitch = null, - UIntPtr? imageSlicePitch = null, + nuint? imageWidth = null, + nuint? imageHeight = null, + nuint? imageDepth = null, + nuint? imageArraySize = null, + nuint? imageRowPitch = null, + nuint? imageSlicePitch = null, uint? numMipLevels = null, uint? numSamples = null ) : this() @@ -89,32 +89,32 @@ public ImageDesc [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_width")] - public UIntPtr ImageWidth; + public nuint ImageWidth; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_height")] - public UIntPtr ImageHeight; + public nuint ImageHeight; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_depth")] - public UIntPtr ImageDepth; + public nuint ImageDepth; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_array_size")] - public UIntPtr ImageArraySize; + public nuint ImageArraySize; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_row_pitch")] - public UIntPtr ImageRowPitch; + public nuint ImageRowPitch; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "image_slice_pitch")] - public UIntPtr ImageSlicePitch; + public nuint ImageSlicePitch; /// [NativeName("Type", "cl_uint")] [NativeName("Type.Name", "cl_uint")] diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorage.gen.cs index 8e88ce4d7b..954666ba7e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbBufferStorage : NativeExtension { public const string ExtensionName = "ARB_buffer_storage"; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; public ArbBufferStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorageOverloads.gen.cs index a735ad4fc6..3a2ba511dd 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbBufferStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGL.Extensions.ARB { public static class ArbBufferStorageOverloads { - public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); } - public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEvent.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEvent.gen.cs index ce7e90b569..9a70867d39 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEvent.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEvent.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbClEvent : NativeExtension { public const string ExtensionName = "ARB_cl_event"; [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] out IntPtr context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] out nint context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] out IntPtr context, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.In)] uint flags); + public partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] out nint context, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.In)] uint flags); public ArbClEvent(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEventOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEventOverloads.gen.cs index 1fff8b5b0c..15f8e9d130 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEventOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClEventOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenGL.Extensions.ARB { public static class ArbClEventOverloads { - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(context, out @event.GetPinnableReference(), flags); } - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(out context.GetPinnableReference(), @event, flags); } - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(out context.GetPinnableReference(), out @event.GetPinnableReference(), flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObject.gen.cs index 21ccf02aff..f3b5c97957 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObject.gen.cs @@ -119,100 +119,100 @@ public unsafe partial class ArbClearBufferObject : NativeExtension public partial void ClearBufferData([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; public ArbClearBufferObject(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs index aac849422c..11f5e2a30e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs @@ -114,97 +114,97 @@ public static unsafe void ClearBufferData(this ArbClearBufferObject thisApi, thisApi.ClearBufferData(target, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbComputeShader.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbComputeShader.gen.cs index f1977083e0..001c701b2e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbComputeShader.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbComputeShader.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class ArbComputeShader : NativeExtension public partial void DispatchCompute([Flow(FlowDirection.In)] uint num_groups_x, [Flow(FlowDirection.In)] uint num_groups_y, [Flow(FlowDirection.In)] uint num_groups_z); [NativeApi(EntryPoint = "glDispatchComputeIndirect")] - public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] nint indirect); public ArbComputeShader(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbCopyBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbCopyBuffer.gen.cs index 700751e7dd..aaf021fa57 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbCopyBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbCopyBuffer.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbCopyBuffer : NativeExtension { public const string ExtensionName = "ARB_copy_buffer"; [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); public ArbCopyBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs index 10863f6606..21d93a9344 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccess.gen.cs @@ -86,52 +86,52 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedFramebufferiv")] public unsafe partial void ClearNamedFramebuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB buffer, [Flow(FlowDirection.In)] int drawbuffer, [Flow(FlowDirection.In)] int* value); @@ -212,7 +212,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void CompressedTextureSubImage3D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] uint imageSize, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyNamedBufferSubData")] - public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyTextureSubImage1D")] public partial void CopyTextureSubImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width); @@ -362,7 +362,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRange")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glGenerateTextureMipmap")] public partial void GenerateTextureMipmap([Flow(FlowDirection.In)] uint texture); @@ -410,10 +410,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameteriv")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB attachment, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.Out)] int* @params); @@ -464,10 +464,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void GetNamedRenderbufferParameter([Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.In)] RenderbufferParameterName pname, [Flow(FlowDirection.Out)] out int @params); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetTextureImage")] public unsafe partial void GetTextureImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] uint bufSize, [Flow(FlowDirection.Out)] void* pixels); @@ -668,31 +668,31 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRange")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorage")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubData")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubData")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedFramebufferDrawBuffer")] public partial void NamedFramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB buf); @@ -767,10 +767,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureParameterf")] public partial void TextureParameter([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] float param); @@ -938,7 +938,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void TransformFeedbackBufferBase([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTransformFeedbackBufferRange")] - public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glUnmapNamedBuffer")] public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); @@ -971,55 +971,55 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void VertexArrayElementBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayVertexBuffer")] - public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); public unsafe uint CreateBuffer() { diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs index b2c0c8839f..960f7585fe 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs @@ -66,49 +66,49 @@ public static unsafe void ClearNamedBufferData(this ArbDirectStateAccess thi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -348,7 +348,7 @@ public static unsafe void GetNamedBufferParameter(this ArbDirectStateAccess this thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -594,25 +594,25 @@ public static unsafe void InvalidateNamedFramebufferSubData(this ArbDirectStateA thisApi.InvalidateNamedFramebufferSubData(framebuffer, numAttachments, in attachments.GetPinnableReference(), x, y, width, height); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); @@ -750,85 +750,85 @@ public static unsafe void TextureSubImage3D(this ArbDirectStateAccess thisAp thisApi.TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParameters.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParameters.gen.cs index ef0e6e6ef8..a1d91db49e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParameters.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParameters.gen.cs @@ -23,40 +23,40 @@ public unsafe partial class ArbIndirectParameters : NativeExtension { public const string ExtensionName = "ARB_indirect_parameters"; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; public ArbIndirectParameters(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs index 9c6f3d6be3..0da60f8bc2 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenGL.Extensions.ARB { public static class ArbIndirectParametersOverloads { - public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbInvalidateSubdata.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbInvalidateSubdata.gen.cs index 1c52da0e94..a08c7d66d1 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbInvalidateSubdata.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbInvalidateSubdata.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class ArbInvalidateSubdata : NativeExtension public partial void InvalidateBufferData([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glInvalidateBufferSubData")] - public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glInvalidateFramebuffer")] public unsafe partial void InvalidateFramebuffer([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint numAttachments, [Count(Parameter = "numAttachments"), Flow(FlowDirection.In)] ARB* attachments); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMapBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMapBufferRange.gen.cs index a3cc1ef6fb..41a010f630 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMapBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMapBufferRange.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbMapBufferRange : NativeExtension { public const string ExtensionName = "ARB_map_buffer_range"; [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); public ArbMapBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBind.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBind.gen.cs index 58db5bc010..bc1b06e52c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBind.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBind.gen.cs @@ -47,100 +47,100 @@ public unsafe partial class ArbMultiBind : NativeExtension public partial void BindBuffersBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindImageTextures")] public unsafe partial void BindImageTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* textures); @@ -179,52 +179,52 @@ public unsafe partial class ArbMultiBind : NativeExtension public partial void BindTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Texture textures); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); public ArbMultiBind(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBindOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBindOverloads.gen.cs index d0c52b1c44..f35b1daf45 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBindOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbMultiBindOverloads.gen.cs @@ -42,169 +42,169 @@ public static unsafe void BindBuffersBase(this ArbMultiBind thisApi, [Flow(FlowD thisApi.BindBuffersBase(target, first, count, in buffers.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); @@ -246,85 +246,85 @@ public static unsafe void BindTextures(this ArbMultiBind thisApi, [Flow(FlowDire thisApi.BindTextures(first, count, in textures.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSeparateShaderObjects.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSeparateShaderObjects.gen.cs index ab1eaf0623..7c24730582 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSeparateShaderObjects.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSeparateShaderObjects.gen.cs @@ -366,8 +366,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ARB type, [Flow( // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -376,8 +376,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbShadingLanguageInclude.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbShadingLanguageInclude.gen.cs index b6ddce3707..34c5b56837 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbShadingLanguageInclude.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbShadingLanguageInclude.gen.cs @@ -156,8 +156,8 @@ public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [F // StringArrayOverloader var path = (byte**) SilkMarshal.StringArrayToPtr(pathSa); CompileShaderInclude(shader, count, path, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) path, pathSa); - SilkMarshal.Free((IntPtr) path); + SilkMarshal.CopyPtrToStringArray((nint) path, pathSa); + SilkMarshal.Free((nint) path); } public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] pathSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -165,8 +165,8 @@ public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [F // StringArrayOverloader var path = (byte**) SilkMarshal.StringArrayToPtr(pathSa); CompileShaderInclude(shader, count, path, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) path, pathSa); - SilkMarshal.Free((IntPtr) path); + SilkMarshal.CopyPtrToStringArray((nint) path, pathSa); + SilkMarshal.Free((nint) path); } public unsafe void DeleteNamedString([Count(Parameter = "namelen"), Flow(FlowDirection.In)] byte name) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSparseBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSparseBuffer.gen.cs index 6bea3e89b2..dfcfc954c7 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSparseBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSparseBuffer.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ArbSparseBuffer : NativeExtension { public const string ExtensionName = "ARB_sparse_buffer"; [NativeApi(EntryPoint = "glBufferPageCommitmentARB")] - public partial void BufferPageCommitment([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitment([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glNamedBufferPageCommitmentEXT")] - public partial void NamedBufferPageCommitment([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] bool commit); + public partial void NamedBufferPageCommitment([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] bool commit); public ArbSparseBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSync.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSync.gen.cs index e81cb23694..49c48274bf 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSync.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSync.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbSync : NativeExtension { public const string ExtensionName = "ARB_sync"; [NativeApi(EntryPoint = "glClientWaitSync")] - public partial ARB ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial ARB ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glDeleteSync")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] ARB condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] ARB condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glGetInteger64v")] public unsafe partial void GetInteger64([Flow(FlowDirection.In)] ARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] long* data); @@ -47,34 +47,34 @@ public unsafe partial class ArbSync : NativeExtension public partial void GetInteger64([Flow(FlowDirection.In)] GetPName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out long data); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glIsSync")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glWaitSync")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); public unsafe long GetInteger64([Flow(FlowDirection.In)] ARB pname) { diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSyncOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSyncOverloads.gen.cs index 7fd4e621a2..7f11d45e16 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSyncOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbSyncOverloads.gen.cs @@ -30,37 +30,37 @@ public static unsafe void GetInteger64(this ArbSync thisApi, [Flow(FlowDirection thisApi.GetInteger64(pname, out data.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbTextureBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbTextureBufferRange.gen.cs index 1ad43a29b4..e3a32ea4e4 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbTextureBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbTextureBufferRange.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbTextureBufferRange : NativeExtension { public const string ExtensionName = "ARB_texture_buffer_range"; [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); public ArbTextureBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbUniformBufferObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbUniformBufferObject.gen.cs index f2e83e3b5b..a510097663 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbUniformBufferObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbUniformBufferObject.gen.cs @@ -29,10 +29,10 @@ public unsafe partial class ArbUniformBufferObject : NativeExtension public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glGetActiveUniformBlockiv")] public unsafe partial void GetActiveUniformBlock([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformBlockIndex, [Flow(FlowDirection.In)] ARB pname, [Count(Computed = "program, uniformBlockIndex, pname"), Flow(FlowDirection.Out)] int* @params); @@ -147,8 +147,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformCount, [Count(Computed = "uniformCount"), Flow(FlowDirection.In)] string[] uniformNamesSa, [Count(Computed = "uniformCount"), Flow(FlowDirection.Out)] out uint uniformIndices) @@ -156,8 +156,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, out uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public ArbUniformBufferObject(INativeContext ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbVertexAttribBinding.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbVertexAttribBinding.gen.cs index f0a26150d1..f1b568e353 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbVertexAttribBinding.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/ArbVertexAttribBinding.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class ArbVertexAttribBinding : NativeExtension { public const string ExtensionName = "ARB_vertex_attrib_binding"; [NativeApi(EntryPoint = "glBindVertexBuffer")] - public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexAttribBinding")] public partial void VertexAttribBinding([Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] uint bindingindex); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/DebugProcArb.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/DebugProcArb.cs index afce6b736c..86b10fefe7 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/DebugProcArb.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ARB/DebugProcArb.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Extensions.ARB { - public delegate void DebugProcArb(ARB source, ARB type, int id, ARB severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcArb(ARB source, ARB type, int id, ARB severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs index adcca4ab6b..02ee1c167c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccess.gen.cs @@ -89,28 +89,28 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClientAttribDefaultEXT")] public partial void ClientAttribDefault([Flow(FlowDirection.In)] uint mask); @@ -728,7 +728,7 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFramebufferDrawBufferEXT")] public partial void FramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT mode); @@ -1553,10 +1553,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubDataEXT")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubDataEXT")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT attachment, [Flow(FlowDirection.In)] EXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int* @params); @@ -1967,7 +1967,7 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRangeEXT")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMatrixFrustumEXT")] public partial void MatrixFrustum([Flow(FlowDirection.In)] EXT mode, [Flow(FlowDirection.In)] double left, [Flow(FlowDirection.In)] double right, [Flow(FlowDirection.In)] double bottom, [Flow(FlowDirection.In)] double top, [Flow(FlowDirection.In)] double zNear, [Flow(FlowDirection.In)] double zFar); @@ -3356,31 +3356,31 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void MultiTexSubImage3D([Flow(FlowDirection.In)] TextureUnit texunit, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width, height, depth"), Flow(FlowDirection.In)] in T0 pixels) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] EXT usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] EXT usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorageEXT")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorageEXT")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubDataEXT")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubDataEXT")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedCopyBufferSubDataEXT")] - public partial void NamedCopyBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void NamedCopyBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glNamedFramebufferParameteriEXT")] public partial void NamedFramebufferParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT pname, [Flow(FlowDirection.In)] int param); @@ -3878,16 +3878,16 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureImage1DEXT")] public unsafe partial void TextureImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] int border, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] void* pixels); @@ -4346,52 +4346,52 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public partial void VertexArrayBindVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayBindVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayColorOffsetEXT")] - public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayColorOffsetEXT")] - public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public partial void VertexArrayEdgeFlagOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayEdgeFlagOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] FogCoordinatePointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] FogCoordinatePointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayIndexOffsetEXT")] - public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayIndexOffsetEXT")] - public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayNormalOffsetEXT")] - public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayNormalOffsetEXT")] - public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] NormalPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] NormalPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribBindingEXT")] public partial void VertexArrayVertexAttribBinding([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] uint bindingindex); @@ -4412,10 +4412,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void VertexArrayVertexAttribIFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribIType type, [Flow(FlowDirection.In)] uint relativeoffset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] public partial void VertexArrayVertexAttribLFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint relativeoffset); @@ -4424,25 +4424,25 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void VertexArrayVertexAttribLFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint relativeoffset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] public partial void VertexArrayVertexBindingDivisor([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint divisor); [NativeApi(EntryPoint = "glVertexArrayVertexOffsetEXT")] - public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexOffsetEXT")] - public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); public ExtDirectStateAccess(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs index fd00819cbc..91f9a354d9 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs @@ -66,25 +66,25 @@ public static unsafe void ClearNamedBufferData(this ExtDirectStateAccess thi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -1302,7 +1302,7 @@ public static unsafe void GetNamedBufferParameter(this ExtDirectStateAccess this thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -2796,25 +2796,25 @@ public static unsafe void MultiTexSubImage3D(this ExtDirectStateAccess thisA thisApi.MultiTexSubImage3D(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorage.gen.cs index 805d2f6125..dc5f5c60d2 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ExtEglImageStorage : NativeExtension { public const string ExtensionName = "EXT_EGL_image_storage"; [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); public ExtEglImageStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs index 9644ec59ef..1045c1f15c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGL.Extensions.EXT { public static class ExtEglImageStorageOverloads { - public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTexStorage(target, image, in attrib_list.GetPinnableReference()); } - public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTextureStorage(texture, image, in attrib_list.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.KHR/DebugProcKhr.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.KHR/DebugProcKhr.cs index d116504411..5f17e5c8a7 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.KHR/DebugProcKhr.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.KHR/DebugProcKhr.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Extensions.KHR { - public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandList.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandList.gen.cs index b75906fc85..4f05750eed 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandList.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandList.gen.cs @@ -56,16 +56,16 @@ public unsafe partial class NVCommandList : NativeExtension public partial void DeleteStates([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] in uint states); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); + public partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsAddressNV")] public unsafe partial void DrawCommandsAddress([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] ulong* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); @@ -80,52 +80,52 @@ public unsafe partial class NVCommandList : NativeExtension public partial void DrawCommandsAddress([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] in ulong indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesAddressNV")] public unsafe partial void DrawCommandsStatesAddress([Flow(FlowDirection.In)] ulong* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandListOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandListOverloads.gen.cs index 2cd73510b7..d6814ee182 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandListOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVCommandListOverloads.gen.cs @@ -42,19 +42,19 @@ public static unsafe void DeleteStates(this NVCommandList thisApi, [Flow(FlowDir thisApi.DeleteStates(n, in states.GetPinnableReference()); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, indirects, in sizes.GetPinnableReference(), count); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, in indirects.GetPinnableReference(), sizes, count); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), count); @@ -78,91 +78,91 @@ public static unsafe void DrawCommandsAddress(this NVCommandList thisApi, [Flow( thisApi.DrawCommandsAddress(primitiveMode, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImage.gen.cs index 414c406472..38d204db4a 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImage.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVDrawVulkanImage : NativeExtension public partial void DrawVkImage([Flow(FlowDirection.In)] ulong vkImage, [Flow(FlowDirection.In)] uint sampler, [Flow(FlowDirection.In)] float x0, [Flow(FlowDirection.In)] float y0, [Flow(FlowDirection.In)] float x1, [Flow(FlowDirection.In)] float y1, [Flow(FlowDirection.In)] float z, [Flow(FlowDirection.In)] float s0, [Flow(FlowDirection.In)] float t0, [Flow(FlowDirection.In)] float s1, [Flow(FlowDirection.In)] float t1); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public unsafe partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); + public unsafe partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); + public partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Flow(FlowDirection.In)] string name); + public partial nint GetVkProcAddr([Flow(FlowDirection.In)] string name); [NativeApi(EntryPoint = "glSignalVkFenceNV")] public partial void SignalVkFence([Flow(FlowDirection.In)] ulong vkFence); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs index 338920a718..a71b5f5f80 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenGL.Extensions.NV { public static class NVDrawVulkanImageOverloads { - public static unsafe IntPtr GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) + public static unsafe nint GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) { // SpanOverloader return thisApi.GetVkProcAddr(in name.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMemoryObjectSparse.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMemoryObjectSparse.gen.cs index e190cdbf7a..d4bd2597c8 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMemoryObjectSparse.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMemoryObjectSparse.gen.cs @@ -23,13 +23,13 @@ public unsafe partial class NVMemoryObjectSparse : NativeExtension { public const string ExtensionName = "NV_memory_object_sparse"; [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glNamedBufferPageCommitmentMemNV")] - public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glTexPageCommitmentMemNV")] public partial void TexPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] int layer, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset, [Flow(FlowDirection.In)] bool commit); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMeshShader.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMeshShader.gen.cs index e5a7e5cc9a..15e2a22393 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMeshShader.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVMeshShader.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVMeshShader : NativeExtension public partial void DrawMeshTask([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawMeshTasksIndirectNV")] - public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectNV")] - public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectCountNV")] - public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); public NVMeshShader(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRendering.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRendering.gen.cs index 551bb6dfbf..bf83c3d57f 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRendering.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRendering.gen.cs @@ -860,10 +860,10 @@ public unsafe partial class NVPathRendering : NativeExtension public partial void PathGlyphRange([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] PathFontTarget fontTarget, [Count(Computed = "fontTarget, fontName"), Flow(FlowDirection.In)] in T0 fontName, [Flow(FlowDirection.In)] uint fontStyle, [Flow(FlowDirection.In)] uint firstGlyph, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] PathHandleMissingGlyphs handleMissingGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); + public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; + public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathParameterivNV")] public unsafe partial void PathParameter([Flow(FlowDirection.In)] uint path, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int* value); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRenderingOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRenderingOverloads.gen.cs index f3146448b5..3df9adc5c6 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRenderingOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVPathRenderingOverloads.gen.cs @@ -996,7 +996,7 @@ public static unsafe void PathGlyphRange(this NVPathRendering thisApi, [Flow thisApi.PathGlyphRange(firstPathName, fontTarget, in fontName.GetPinnableReference(), fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); } - public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged + public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged { // SpanOverloader return thisApi.PathMemoryGlyphIndexArray(firstPathName, fontTarget, fontSize, in fontData.GetPinnableReference(), faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs index 79138e9062..090778691d 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class NVVertexBufferUnifiedMemory : NativeExtension { public const string ExtensionName = "NV_vertex_buffer_unified_memory"; [NativeApi(EntryPoint = "glBufferAddressRangeNV")] - public partial void BufferAddressRange([Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] ulong address, [Flow(FlowDirection.In)] UIntPtr length); + public partial void BufferAddressRange([Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] ulong address, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glColorFormatNV")] public partial void ColorFormat([Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] NV type, [Flow(FlowDirection.In)] uint stride); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.AMD/DebugProcAmd.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.AMD/DebugProcAmd.cs index 22e7dea1c7..a0504225a8 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.AMD/DebugProcAmd.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.AMD/DebugProcAmd.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.AMD { - public delegate void DebugProcAmd(AMD source, AMD type, int id, AMD severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcAmd(AMD source, AMD type, int id, AMD severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.APPLE/AppleFlushBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.APPLE/AppleFlushBufferRange.gen.cs index 4abba9f447..d6da09c035 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.APPLE/AppleFlushBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.APPLE/AppleFlushBufferRange.gen.cs @@ -26,10 +26,10 @@ public unsafe partial class AppleFlushBufferRange : NativeExtension public partial void BufferParameter([Flow(FlowDirection.In)] APPLE target, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] int param); [NativeApi(EntryPoint = "glFlushMappedBufferRangeAPPLE")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] APPLE target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] APPLE target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glFlushMappedBufferRangeAPPLE")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); public AppleFlushBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorage.gen.cs index 71ddb1b215..918f3305cb 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbBufferStorage : NativeExtension { public const string ExtensionName = "ARB_buffer_storage"; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; public ArbBufferStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorageOverloads.gen.cs index 805b7153a3..4b46df5e7c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBufferStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.ARB { public static class ArbBufferStorageOverloads { - public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); } - public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ArbBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEvent.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEvent.gen.cs index 6eedcbeeab..c532ffbc2e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEvent.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEvent.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbClEvent : NativeExtension { public const string ExtensionName = "ARB_cl_event"; [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public unsafe partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] out IntPtr context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags); + public unsafe partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] out nint context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glCreateSyncFromCLeventARB")] - public partial IntPtr CreateSyncFromCLevent([Flow(FlowDirection.Out)] out IntPtr context, [Flow(FlowDirection.Out)] out IntPtr @event, [Flow(FlowDirection.In)] uint flags); + public partial nint CreateSyncFromCLevent([Flow(FlowDirection.Out)] out nint context, [Flow(FlowDirection.Out)] out nint @event, [Flow(FlowDirection.In)] uint flags); public ArbClEvent(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEventOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEventOverloads.gen.cs index 8cf71e3407..3927d08d6c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEventOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClEventOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.ARB { public static class ArbClEventOverloads { - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] IntPtr* context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] nint* context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(context, out @event.GetPinnableReference(), flags); } - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] IntPtr* @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] nint* @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(out context.GetPinnableReference(), @event, flags); } - public static unsafe IntPtr CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) + public static unsafe nint CreateSyncFromCLevent(this ArbClEvent thisApi, [Flow(FlowDirection.Out)] Span context, [Flow(FlowDirection.Out)] Span @event, [Flow(FlowDirection.In)] uint flags) { // SpanOverloader return thisApi.CreateSyncFromCLevent(out context.GetPinnableReference(), out @event.GetPinnableReference(), flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObject.gen.cs index 873e76ca09..f8578b3b16 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObject.gen.cs @@ -119,100 +119,100 @@ public unsafe partial class ArbClearBufferObject : NativeExtension public partial void ClearBufferData([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; public ArbClearBufferObject(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs index e40e8b9b53..6718ab50cd 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbClearBufferObjectOverloads.gen.cs @@ -114,97 +114,97 @@ public static unsafe void ClearBufferData(this ArbClearBufferObject thisApi, thisApi.ClearBufferData(target, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this ArbClearBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbComputeShader.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbComputeShader.gen.cs index d26815d1b8..78d96f758c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbComputeShader.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbComputeShader.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class ArbComputeShader : NativeExtension public partial void DispatchCompute([Flow(FlowDirection.In)] uint num_groups_x, [Flow(FlowDirection.In)] uint num_groups_y, [Flow(FlowDirection.In)] uint num_groups_z); [NativeApi(EntryPoint = "glDispatchComputeIndirect")] - public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] nint indirect); public ArbComputeShader(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbCopyBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbCopyBuffer.gen.cs index caab1c199c..82083d56e6 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbCopyBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbCopyBuffer.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbCopyBuffer : NativeExtension { public const string ExtensionName = "ARB_copy_buffer"; [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] ARB readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] ARB writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); public ArbCopyBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs index 14224f4266..1d60cb8e0e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccess.gen.cs @@ -86,52 +86,52 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedFramebufferiv")] public unsafe partial void ClearNamedFramebuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB buffer, [Flow(FlowDirection.In)] int drawbuffer, [Flow(FlowDirection.In)] int* value); @@ -212,7 +212,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void CompressedTextureSubImage3D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] uint imageSize, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyNamedBufferSubData")] - public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyTextureSubImage1D")] public partial void CopyTextureSubImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width); @@ -362,7 +362,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRange")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glGenerateTextureMipmap")] public partial void GenerateTextureMipmap([Flow(FlowDirection.In)] uint texture); @@ -410,10 +410,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameteriv")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB attachment, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.Out)] int* @params); @@ -464,10 +464,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void GetNamedRenderbufferParameter([Flow(FlowDirection.In)] uint renderbuffer, [Flow(FlowDirection.In)] RenderbufferParameterName pname, [Flow(FlowDirection.Out)] out int @params); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetTextureImage")] public unsafe partial void GetTextureImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] uint bufSize, [Flow(FlowDirection.Out)] void* pixels); @@ -668,31 +668,31 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRange")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorage")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubData")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubData")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedFramebufferDrawBuffer")] public partial void NamedFramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] ARB buf); @@ -767,10 +767,10 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureParameterf")] public partial void TextureParameter([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] float param); @@ -938,7 +938,7 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void TransformFeedbackBufferBase([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTransformFeedbackBufferRange")] - public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glUnmapNamedBuffer")] public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); @@ -971,55 +971,55 @@ public unsafe partial class ArbDirectStateAccess : NativeExtension public partial void VertexArrayElementBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayVertexBuffer")] - public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); public unsafe uint CreateBuffer() { diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs index 523a05e76f..747e599a36 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbDirectStateAccessOverloads.gen.cs @@ -66,49 +66,49 @@ public static unsafe void ClearNamedBufferData(this ArbDirectStateAccess thi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ARB format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -348,7 +348,7 @@ public static unsafe void GetNamedBufferParameter(this ArbDirectStateAccess this thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -594,25 +594,25 @@ public static unsafe void InvalidateNamedFramebufferSubData(this ArbDirectStateA thisApi.InvalidateNamedFramebufferSubData(framebuffer, numAttachments, in attachments.GetPinnableReference(), x, y, width, height); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); @@ -750,85 +750,85 @@ public static unsafe void TextureSubImage3D(this ArbDirectStateAccess thisAp thisApi.TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this ArbDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParameters.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParameters.gen.cs index 236df99c95..dfb5343326 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParameters.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParameters.gen.cs @@ -23,40 +23,40 @@ public unsafe partial class ArbIndirectParameters : NativeExtension { public const string ExtensionName = "ARB_indirect_parameters"; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; public ArbIndirectParameters(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs index 34319e3013..f20853cb43 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbIndirectParametersOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.ARB { public static class ArbIndirectParametersOverloads { - public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] ARB mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ARB type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this ArbIndirectParameters thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbInvalidateSubdata.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbInvalidateSubdata.gen.cs index ca949089fa..d0ac3d3da2 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbInvalidateSubdata.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbInvalidateSubdata.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class ArbInvalidateSubdata : NativeExtension public partial void InvalidateBufferData([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glInvalidateBufferSubData")] - public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glInvalidateFramebuffer")] public unsafe partial void InvalidateFramebuffer([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint numAttachments, [Count(Parameter = "numAttachments"), Flow(FlowDirection.In)] ARB* attachments); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMapBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMapBufferRange.gen.cs index 07dc919200..5e82d740c3 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMapBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMapBufferRange.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbMapBufferRange : NativeExtension { public const string ExtensionName = "ARB_map_buffer_range"; [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); public ArbMapBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBind.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBind.gen.cs index c4e9a63f55..857ab7f288 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBind.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBind.gen.cs @@ -47,100 +47,100 @@ public unsafe partial class ArbMultiBind : NativeExtension public partial void BindBuffersBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindImageTextures")] public unsafe partial void BindImageTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* textures); @@ -179,52 +179,52 @@ public unsafe partial class ArbMultiBind : NativeExtension public partial void BindTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Texture textures); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); public ArbMultiBind(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBindOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBindOverloads.gen.cs index aea8939e1c..64e7193601 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBindOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbMultiBindOverloads.gen.cs @@ -42,169 +42,169 @@ public static unsafe void BindBuffersBase(this ArbMultiBind thisApi, [Flow(FlowD thisApi.BindBuffersBase(target, first, count, in buffers.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); @@ -246,85 +246,85 @@ public static unsafe void BindTextures(this ArbMultiBind thisApi, [Flow(FlowDire thisApi.BindTextures(first, count, in textures.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this ArbMultiBind thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSeparateShaderObjects.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSeparateShaderObjects.gen.cs index 5a56b5f900..50ca901852 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSeparateShaderObjects.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSeparateShaderObjects.gen.cs @@ -366,8 +366,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ARB type, [Flow( // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -376,8 +376,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShaderObjects.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShaderObjects.gen.cs index acd5e79aac..b62392123c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShaderObjects.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShaderObjects.gen.cs @@ -387,8 +387,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shaderObj, [Flow(F // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shaderObj, count, @string, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shaderObj, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -396,8 +396,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shaderObj, [Flow(F // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shaderObj, count, @string, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public ArbShaderObjects(INativeContext ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShadingLanguageInclude.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShadingLanguageInclude.gen.cs index 4f0a553ba0..d479633a6d 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShadingLanguageInclude.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbShadingLanguageInclude.gen.cs @@ -156,8 +156,8 @@ public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [F // StringArrayOverloader var path = (byte**) SilkMarshal.StringArrayToPtr(pathSa); CompileShaderInclude(shader, count, path, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) path, pathSa); - SilkMarshal.Free((IntPtr) path); + SilkMarshal.CopyPtrToStringArray((nint) path, pathSa); + SilkMarshal.Free((nint) path); } public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] pathSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -165,8 +165,8 @@ public unsafe void CompileShaderInclude([Flow(FlowDirection.In)] uint shader, [F // StringArrayOverloader var path = (byte**) SilkMarshal.StringArrayToPtr(pathSa); CompileShaderInclude(shader, count, path, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) path, pathSa); - SilkMarshal.Free((IntPtr) path); + SilkMarshal.CopyPtrToStringArray((nint) path, pathSa); + SilkMarshal.Free((nint) path); } public unsafe void DeleteNamedString([Count(Parameter = "namelen"), Flow(FlowDirection.In)] byte name) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSparseBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSparseBuffer.gen.cs index 63f8a95832..e5f5d69785 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSparseBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSparseBuffer.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ArbSparseBuffer : NativeExtension { public const string ExtensionName = "ARB_sparse_buffer"; [NativeApi(EntryPoint = "glBufferPageCommitmentARB")] - public partial void BufferPageCommitment([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitment([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glNamedBufferPageCommitmentEXT")] - public partial void NamedBufferPageCommitment([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] bool commit); + public partial void NamedBufferPageCommitment([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] bool commit); public ArbSparseBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSync.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSync.gen.cs index a89c427fa3..54137e53be 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSync.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSync.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbSync : NativeExtension { public const string ExtensionName = "ARB_sync"; [NativeApi(EntryPoint = "glClientWaitSync")] - public partial ARB ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial ARB ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glDeleteSync")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] ARB condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] ARB condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glGetInteger64v")] public unsafe partial void GetInteger64([Flow(FlowDirection.In)] ARB pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] long* data); @@ -47,34 +47,34 @@ public unsafe partial class ArbSync : NativeExtension public partial void GetInteger64([Flow(FlowDirection.In)] GetPName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out long data); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glIsSync")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glWaitSync")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); public unsafe long GetInteger64([Flow(FlowDirection.In)] ARB pname) { diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSyncOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSyncOverloads.gen.cs index 42a595600e..487461d15b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSyncOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbSyncOverloads.gen.cs @@ -30,37 +30,37 @@ public static unsafe void GetInteger64(this ArbSync thisApi, [Flow(FlowDirection thisApi.GetInteger64(pname, out data.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] ARB pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbTextureBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbTextureBufferRange.gen.cs index de63bdf620..afa06545fc 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbTextureBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbTextureBufferRange.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ArbTextureBufferRange : NativeExtension { public const string ExtensionName = "ARB_texture_buffer_range"; [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] ARB internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); public ArbTextureBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbUniformBufferObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbUniformBufferObject.gen.cs index 7d38241a98..19356a8476 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbUniformBufferObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbUniformBufferObject.gen.cs @@ -29,10 +29,10 @@ public unsafe partial class ArbUniformBufferObject : NativeExtension public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glGetActiveUniformBlockiv")] public unsafe partial void GetActiveUniformBlock([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformBlockIndex, [Flow(FlowDirection.In)] ARB pname, [Count(Computed = "program, uniformBlockIndex, pname"), Flow(FlowDirection.Out)] int* @params); @@ -147,8 +147,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformCount, [Count(Computed = "uniformCount"), Flow(FlowDirection.In)] string[] uniformNamesSa, [Count(Computed = "uniformCount"), Flow(FlowDirection.Out)] out uint uniformIndices) @@ -156,8 +156,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, out uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public ArbUniformBufferObject(INativeContext ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexAttribBinding.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexAttribBinding.gen.cs index 07451129ba..a1c7a130e1 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexAttribBinding.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexAttribBinding.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class ArbVertexAttribBinding : NativeExtension { public const string ExtensionName = "ARB_vertex_attrib_binding"; [NativeApi(EntryPoint = "glBindVertexBuffer")] - public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexAttribBinding")] public partial void VertexAttribBinding([Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] uint bindingindex); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObject.gen.cs index 6aaa692320..43119d51d4 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObject.gen.cs @@ -29,40 +29,40 @@ public unsafe partial class ArbVertexBufferObject : NativeExtension public partial void BindBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBufferDataARB")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); [NativeApi(EntryPoint = "glBufferDataARB")] - public partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferDataARB")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferDataARB")] - public partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferDataARB")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] ARB usage); [NativeApi(EntryPoint = "glBufferDataARB")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferDataARB")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferDataARB")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubDataARB")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubDataARB")] - public partial void BufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubDataARB")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubDataARB")] - public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glDeleteBuffersARB")] public unsafe partial void DeleteBuffers([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] uint* buffers); @@ -137,16 +137,16 @@ public unsafe partial class ArbVertexBufferObject : NativeExtension public unsafe partial void GetBufferPointer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetBufferSubDataARB")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubDataARB")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetBufferSubDataARB")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubDataARB")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glIsBufferARB")] public partial bool IsBuffer([Flow(FlowDirection.In)] uint buffer); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObjectOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObjectOverloads.gen.cs index bacd0ddded..c31f20f3f0 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObjectOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbVertexBufferObjectOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.ARB { public static class ArbVertexBufferObjectOverloads { - public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged + public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged + public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] ARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); } - public static unsafe void BufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); @@ -102,13 +102,13 @@ public static unsafe void GetBufferParameter(this ArbVertexBufferObject thisApi, thisApi.GetBufferParameter(target, pname, out @params.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] ARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this ArbVertexBufferObject thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/DebugProcArb.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/DebugProcArb.cs index d89c1ed658..baecff39ff 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/DebugProcArb.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/DebugProcArb.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.ARB { - public delegate void DebugProcArb(ARB source, ARB type, int id, ARB severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcArb(ARB source, ARB type, int id, ARB severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtBindableUniform.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtBindableUniform.gen.cs index 7e0fc23f71..9440803242 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtBindableUniform.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtBindableUniform.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class ExtBindableUniform : NativeExtension public partial int GetUniformBufferSize([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location); [NativeApi(EntryPoint = "glGetUniformOffsetEXT")] - public partial IntPtr GetUniformOffset([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location); + public partial nint GetUniformOffset([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location); [NativeApi(EntryPoint = "glUniformBufferEXT")] public partial void UniformBuffer([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location, [Flow(FlowDirection.In)] uint buffer); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs index feb1aa09a6..f874f59d0f 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccess.gen.cs @@ -89,28 +89,28 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubDataEXT")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClientAttribDefaultEXT")] public partial void ClientAttribDefault([Flow(FlowDirection.In)] uint mask); @@ -728,7 +728,7 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFramebufferDrawBufferEXT")] public partial void FramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT mode); @@ -1553,10 +1553,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubDataEXT")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubDataEXT")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT attachment, [Flow(FlowDirection.In)] EXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int* @params); @@ -1967,7 +1967,7 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRangeEXT")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMatrixFrustumEXT")] public partial void MatrixFrustum([Flow(FlowDirection.In)] EXT mode, [Flow(FlowDirection.In)] double left, [Flow(FlowDirection.In)] double right, [Flow(FlowDirection.In)] double bottom, [Flow(FlowDirection.In)] double top, [Flow(FlowDirection.In)] double zNear, [Flow(FlowDirection.In)] double zFar); @@ -3356,31 +3356,31 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void MultiTexSubImage3D([Flow(FlowDirection.In)] TextureUnit texunit, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width, height, depth"), Flow(FlowDirection.In)] in T0 pixels) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] EXT usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] EXT usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferDataEXT")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorageEXT")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorageEXT")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubDataEXT")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubDataEXT")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedCopyBufferSubDataEXT")] - public partial void NamedCopyBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void NamedCopyBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glNamedFramebufferParameteriEXT")] public partial void NamedFramebufferParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] EXT pname, [Flow(FlowDirection.In)] int param); @@ -3878,16 +3878,16 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRangeEXT")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureImage1DEXT")] public unsafe partial void TextureImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] int border, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type, width"), Flow(FlowDirection.In)] void* pixels); @@ -4346,52 +4346,52 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public partial void VertexArrayBindVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayBindVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayColorOffsetEXT")] - public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayColorOffsetEXT")] - public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public partial void VertexArrayEdgeFlagOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayEdgeFlagOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] FogCoordinatePointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayFogCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] FogCoordinatePointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayIndexOffsetEXT")] - public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayIndexOffsetEXT")] - public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayIndexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IndexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayMultiTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT texunit, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayNormalOffsetEXT")] - public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayNormalOffsetEXT")] - public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] NormalPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayNormalOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] NormalPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArraySecondaryColorOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] ColorPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayTexCoordOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] TexCoordPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribBindingEXT")] public partial void VertexArrayVertexAttribBinding([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] uint bindingindex); @@ -4412,10 +4412,10 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void VertexArrayVertexAttribIFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribIType type, [Flow(FlowDirection.In)] uint relativeoffset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribIOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] public partial void VertexArrayVertexAttribLFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint relativeoffset); @@ -4424,25 +4424,25 @@ public unsafe partial class ExtDirectStateAccess : NativeExtension public partial void VertexArrayVertexAttribLFormat([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint attribindex, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint relativeoffset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribLOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribLType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexAttribOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribPointerType type, [Flow(FlowDirection.In)] bool normalized, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] public partial void VertexArrayVertexBindingDivisor([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint divisor); [NativeApi(EntryPoint = "glVertexArrayVertexOffsetEXT")] - public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] EXT type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glVertexArrayVertexOffsetEXT")] - public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] IntPtr offset); + public partial void VertexArrayVertexOffset([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexPointerType type, [Flow(FlowDirection.In)] uint stride, [Flow(FlowDirection.In)] nint offset); public ExtDirectStateAccess(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs index 55e79a5dc3..746f3faeeb 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtDirectStateAccessOverloads.gen.cs @@ -66,25 +66,25 @@ public static unsafe void ClearNamedBufferData(this ExtDirectStateAccess thi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] UIntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] nuint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -1302,7 +1302,7 @@ public static unsafe void GetNamedBufferParameter(this ExtDirectStateAccess this thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -2796,25 +2796,25 @@ public static unsafe void MultiTexSubImage3D(this ExtDirectStateAccess thisA thisApi.MultiTexSubImage3D(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] EXT usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this ExtDirectStateAccess thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorage.gen.cs index 24e5462b1b..57c771efdb 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ExtEglImageStorage : NativeExtension { public const string ExtensionName = "EXT_EGL_image_storage"; [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); public ExtEglImageStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs index 4f2da7fdce..1ea0863675 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.EXT { public static class ExtEglImageStorageOverloads { - public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTexStorage(target, image, in attrib_list.GetPinnableReference()); } - public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTextureStorage(texture, image, in attrib_list.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtExternalBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtExternalBuffer.gen.cs index 41541913a0..2ea398fbac 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtExternalBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtExternalBuffer.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ExtExternalBuffer : NativeExtension { public const string ExtensionName = "EXT_external_buffer"; [NativeApi(EntryPoint = "glBufferStorageExternalEXT")] - public partial void BufferStorageExternal([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] IntPtr clientBuffer, [Flow(FlowDirection.In)] uint flags); + public partial void BufferStorageExternal([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] nint clientBuffer, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorageExternalEXT")] - public partial void NamedBufferStorageExternal([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] IntPtr clientBuffer, [Flow(FlowDirection.In)] uint flags); + public partial void NamedBufferStorageExternal([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] nint clientBuffer, [Flow(FlowDirection.In)] uint flags); public ExtExternalBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtMemoryObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtMemoryObject.gen.cs index 58af69c6d4..3f205e87bf 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtMemoryObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtMemoryObject.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ExtMemoryObject : NativeExtension { public const string ExtensionName = "EXT_memory_object"; [NativeApi(EntryPoint = "glBufferStorageMemEXT")] - public partial void BufferStorageMem([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void BufferStorageMem([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glBufferStorageMemEXT")] - public partial void BufferStorageMem([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void BufferStorageMem([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glCreateMemoryObjectsEXT")] public unsafe partial void CreateMemoryObjects([Flow(FlowDirection.In)] uint n, [Flow(FlowDirection.Out)] uint* memoryObjects); @@ -95,7 +95,7 @@ public unsafe partial class ExtMemoryObject : NativeExtension public partial void MemoryObjectParameter([Flow(FlowDirection.In)] uint memoryObject, [Flow(FlowDirection.In)] MemoryObjectParameterName pname, [Flow(FlowDirection.In)] in int @params); [NativeApi(EntryPoint = "glNamedBufferStorageMemEXT")] - public partial void NamedBufferStorageMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void NamedBufferStorageMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glTexStorageMem1DEXT")] public partial void TexStorageMem1D([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint levels, [Flow(FlowDirection.In)] EXT internalFormat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtTransformFeedback.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtTransformFeedback.gen.cs index af5eb9e324..b98afc9510 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtTransformFeedback.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtTransformFeedback.gen.cs @@ -35,16 +35,16 @@ public unsafe partial class ExtTransformFeedback : NativeExtension public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferOffsetEXT")] - public partial void BindBufferOffset([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset); + public partial void BindBufferOffset([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glBindBufferOffsetEXT")] - public partial void BindBufferOffset([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset); + public partial void BindBufferOffset([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glBindBufferRangeEXT")] - public partial void BindBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRangeEXT")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glEndTransformFeedbackEXT")] public partial void EndTransformFeedback(); @@ -204,8 +204,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public ExtTransformFeedback(INativeContext ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtX11SyncObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtX11SyncObject.gen.cs index 1eda126896..cadef56cc4 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtX11SyncObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.EXT/ExtX11SyncObject.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class ExtX11SyncObject : NativeExtension { public const string ExtensionName = "EXT_x11_sync_object"; [NativeApi(EntryPoint = "glImportSyncEXT")] - public partial IntPtr ImportSync([Flow(FlowDirection.In)] EXT external_sync_type, [Flow(FlowDirection.In)] IntPtr external_sync, [Flow(FlowDirection.In)] uint flags); + public partial nint ImportSync([Flow(FlowDirection.In)] EXT external_sync_type, [Flow(FlowDirection.In)] nint external_sync, [Flow(FlowDirection.In)] uint flags); public ExtX11SyncObject(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.KHR/DebugProcKhr.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.KHR/DebugProcKhr.cs index 8956241134..b29d226c0b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.KHR/DebugProcKhr.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.KHR/DebugProcKhr.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.KHR { - public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandList.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandList.gen.cs index ab311b3a33..b8bb14353d 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandList.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandList.gen.cs @@ -56,16 +56,16 @@ public unsafe partial class NVCommandList : NativeExtension public partial void DeleteStates([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] in uint states); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsNV")] - public partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); + public partial void DrawCommands([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsAddressNV")] public unsafe partial void DrawCommandsAddress([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] ulong* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count); @@ -80,52 +80,52 @@ public unsafe partial class NVCommandList : NativeExtension public partial void DrawCommandsAddress([Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] in ulong indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); + public unsafe partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesNV")] - public partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in IntPtr indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); + public partial void DrawCommandsStates([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] in nint indirects, [Flow(FlowDirection.In)] in uint sizes, [Flow(FlowDirection.In)] in uint states, [Flow(FlowDirection.In)] in uint fbos, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawCommandsStatesAddressNV")] public unsafe partial void DrawCommandsStatesAddress([Flow(FlowDirection.In)] ulong* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandListOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandListOverloads.gen.cs index 6a3a9c1985..4945e42937 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandListOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandListOverloads.gen.cs @@ -42,19 +42,19 @@ public static unsafe void DeleteStates(this NVCommandList thisApi, [Flow(FlowDir thisApi.DeleteStates(n, in states.GetPinnableReference()); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, indirects, in sizes.GetPinnableReference(), count); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, in indirects.GetPinnableReference(), sizes, count); } - public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommands(this NVCommandList thisApi, [Flow(FlowDirection.In)] NV primitiveMode, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommands(primitiveMode, buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), count); @@ -78,91 +78,91 @@ public static unsafe void DrawCommandsAddress(this NVCommandList thisApi, [Flow( thisApi.DrawCommandsAddress(primitiveMode, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, sizes, in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint* indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, indirects, in sizes.GetPinnableReference(), in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] uint* sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), sizes, in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), states, fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] uint* states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), states, in fbos.GetPinnableReference(), count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] uint* fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), in states.GetPinnableReference(), fbos, count); } - public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) + public static unsafe void DrawCommandsStates(this NVCommandList thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] ReadOnlySpan indirects, [Flow(FlowDirection.In)] ReadOnlySpan sizes, [Flow(FlowDirection.In)] ReadOnlySpan states, [Flow(FlowDirection.In)] ReadOnlySpan fbos, [Flow(FlowDirection.In)] uint count) { // SpanOverloader thisApi.DrawCommandsStates(buffer, in indirects.GetPinnableReference(), in sizes.GetPinnableReference(), in states.GetPinnableReference(), in fbos.GetPinnableReference(), count); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImage.gen.cs index a38309ecea..954366872d 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImage.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVDrawVulkanImage : NativeExtension public partial void DrawVkImage([Flow(FlowDirection.In)] ulong vkImage, [Flow(FlowDirection.In)] uint sampler, [Flow(FlowDirection.In)] float x0, [Flow(FlowDirection.In)] float y0, [Flow(FlowDirection.In)] float x1, [Flow(FlowDirection.In)] float y1, [Flow(FlowDirection.In)] float z, [Flow(FlowDirection.In)] float s0, [Flow(FlowDirection.In)] float t0, [Flow(FlowDirection.In)] float s1, [Flow(FlowDirection.In)] float t1); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public unsafe partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); + public unsafe partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); + public partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Flow(FlowDirection.In)] string name); + public partial nint GetVkProcAddr([Flow(FlowDirection.In)] string name); [NativeApi(EntryPoint = "glSignalVkFenceNV")] public partial void SignalVkFence([Flow(FlowDirection.In)] ulong vkFence); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs index a0ac570871..459bcb891a 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NV { public static class NVDrawVulkanImageOverloads { - public static unsafe IntPtr GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) + public static unsafe nint GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) { // SpanOverloader return thisApi.GetVkProcAddr(in name.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticast.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticast.gen.cs index b81f07eee1..0966092515 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticast.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticast.gen.cs @@ -29,13 +29,13 @@ public unsafe partial class NVGpuMulticast : NativeExtension public partial void MulticastBlitFramebuffer([Flow(FlowDirection.In)] uint srcGpu, [Flow(FlowDirection.In)] uint dstGpu, [Flow(FlowDirection.In)] int srcX0, [Flow(FlowDirection.In)] int srcY0, [Flow(FlowDirection.In)] int srcX1, [Flow(FlowDirection.In)] int srcY1, [Flow(FlowDirection.In)] int dstX0, [Flow(FlowDirection.In)] int dstY0, [Flow(FlowDirection.In)] int dstX1, [Flow(FlowDirection.In)] int dstY1, [Flow(FlowDirection.In)] uint mask, [Flow(FlowDirection.In)] NV filter); [NativeApi(EntryPoint = "glMulticastBufferSubDataNV")] - public unsafe partial void MulticastBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data); + public unsafe partial void MulticastBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glMulticastBufferSubDataNV")] - public partial void MulticastBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void MulticastBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glMulticastCopyBufferSubDataNV")] - public partial void MulticastCopyBufferSubData([Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void MulticastCopyBufferSubData([Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glMulticastCopyImageSubDataNV")] public partial void MulticastCopyImageSubData([Flow(FlowDirection.In)] uint srcGpu, [Flow(FlowDirection.In)] uint dstGpuMask, [Flow(FlowDirection.In)] uint srcName, [Flow(FlowDirection.In)] NV srcTarget, [Flow(FlowDirection.In)] int srcLevel, [Flow(FlowDirection.In)] int srcX, [Flow(FlowDirection.In)] int srcY, [Flow(FlowDirection.In)] int srcZ, [Flow(FlowDirection.In)] uint dstName, [Flow(FlowDirection.In)] NV dstTarget, [Flow(FlowDirection.In)] int dstLevel, [Flow(FlowDirection.In)] int dstX, [Flow(FlowDirection.In)] int dstY, [Flow(FlowDirection.In)] int dstZ, [Flow(FlowDirection.In)] uint srcWidth, [Flow(FlowDirection.In)] uint srcHeight, [Flow(FlowDirection.In)] uint srcDepth); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticastOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticastOverloads.gen.cs index b4d813a1a5..075bb74481 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticastOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVGpuMulticastOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NV { public static class NVGpuMulticastOverloads { - public static unsafe void MulticastBufferSubData(this NVGpuMulticast thisApi, [Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void MulticastBufferSubData(this NVGpuMulticast thisApi, [Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.MulticastBufferSubData(gpuMask, buffer, offset, size, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMemoryObjectSparse.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMemoryObjectSparse.gen.cs index 9656504062..e5764c7394 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMemoryObjectSparse.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMemoryObjectSparse.gen.cs @@ -23,13 +23,13 @@ public unsafe partial class NVMemoryObjectSparse : NativeExtension { public const string ExtensionName = "NV_memory_object_sparse"; [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glNamedBufferPageCommitmentMemNV")] - public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glTexPageCommitmentMemNV")] public partial void TexPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] int layer, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset, [Flow(FlowDirection.In)] bool commit); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMeshShader.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMeshShader.gen.cs index 819cc92f30..71f62bbbd0 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMeshShader.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVMeshShader.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVMeshShader : NativeExtension public partial void DrawMeshTask([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawMeshTasksIndirectNV")] - public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectNV")] - public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectCountNV")] - public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); public NVMeshShader(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRendering.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRendering.gen.cs index 4055217a5c..112b264aba 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRendering.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRendering.gen.cs @@ -1010,10 +1010,10 @@ public unsafe partial class NVPathRendering : NativeExtension public partial void PathGlyphRange([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] PathFontTarget fontTarget, [Count(Computed = "fontTarget, fontName"), Flow(FlowDirection.In)] in T0 fontName, [Flow(FlowDirection.In)] uint fontStyle, [Flow(FlowDirection.In)] uint firstGlyph, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] PathHandleMissingGlyphs handleMissingGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); + public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; + public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathParameterivNV")] public unsafe partial void PathParameter([Flow(FlowDirection.In)] uint path, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int* value); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRenderingOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRenderingOverloads.gen.cs index 3a9a1dd28f..f4f15fd988 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRenderingOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVPathRenderingOverloads.gen.cs @@ -1140,7 +1140,7 @@ public static unsafe void PathGlyphRange(this NVPathRendering thisApi, [Flow thisApi.PathGlyphRange(firstPathName, fontTarget, in fontName.GetPinnableReference(), fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); } - public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged + public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged { // SpanOverloader return thisApi.PathMemoryGlyphIndexArray(firstPathName, fontTarget, fontSize, in fontData.GetPinnableReference(), faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVTransformFeedback.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVTransformFeedback.gen.cs index 5264772271..a8959b9d63 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVTransformFeedback.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVTransformFeedback.gen.cs @@ -44,16 +44,16 @@ public unsafe partial class NVTransformFeedback : NativeExtension public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferOffsetNV")] - public partial void BindBufferOffset([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset); + public partial void BindBufferOffset([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glBindBufferOffsetNV")] - public partial void BindBufferOffset([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset); + public partial void BindBufferOffset([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glBindBufferRangeNV")] - public partial void BindBufferRange([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRangeNV")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glEndTransformFeedbackNV")] public partial void EndTransformFeedback(); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop.gen.cs index 7e55c1e7f6..e45e9a33c6 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop.gen.cs @@ -26,16 +26,16 @@ public unsafe partial class NVVdpauInterop : NativeExtension public partial void Vdpaufin(); [NativeApi(EntryPoint = "glVDPAUGetSurfaceivNV")] - public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glVDPAUGetSurfaceivNV")] - public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glVDPAUGetSurfaceivNV")] - public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void VdpaugetSurface([Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glVDPAUGetSurfaceivNV")] - public partial void VdpaugetSurface([Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void VdpaugetSurface([Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glVDPAUInitNV")] public unsafe partial void Vdpauinit([Flow(FlowDirection.In)] void* vdpDevice, [Flow(FlowDirection.In)] void* getProcAddress); @@ -50,49 +50,49 @@ public unsafe partial class NVVdpauInterop : NativeExtension public partial void Vdpauinit([Flow(FlowDirection.In)] in T0 vdpDevice, [Flow(FlowDirection.In)] in T1 getProcAddress) where T0 : unmanaged where T1 : unmanaged; [NativeApi(EntryPoint = "glVDPAUIsSurfaceNV")] - public partial bool VdpauisSurface([Flow(FlowDirection.In)] IntPtr surface); + public partial bool VdpauisSurface([Flow(FlowDirection.In)] nint surface); [NativeApi(EntryPoint = "glVDPAUMapSurfacesNV")] - public unsafe partial void VdpaumapSurfaces([Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] IntPtr* surfaces); + public unsafe partial void VdpaumapSurfaces([Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] nint* surfaces); [NativeApi(EntryPoint = "glVDPAUMapSurfacesNV")] - public partial void VdpaumapSurfaces([Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] in IntPtr surfaces); + public partial void VdpaumapSurfaces([Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] in nint surfaces); [NativeApi(EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public unsafe partial IntPtr VdpauregisterOutputSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames); + public unsafe partial nint VdpauregisterOutputSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames); [NativeApi(EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public unsafe partial IntPtr VdpauregisterOutputSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames); + public unsafe partial nint VdpauregisterOutputSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames); [NativeApi(EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public unsafe partial IntPtr VdpauregisterOutputSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged; + public unsafe partial nint VdpauregisterOutputSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged; [NativeApi(EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public partial IntPtr VdpauregisterOutputSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames) where T0 : unmanaged; + public partial nint VdpauregisterOutputSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames) where T0 : unmanaged; [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public unsafe partial IntPtr VdpauregisterVideoSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames); + public unsafe partial nint VdpauregisterVideoSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames); [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public unsafe partial IntPtr VdpauregisterVideoSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames); + public unsafe partial nint VdpauregisterVideoSurface([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames); [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public unsafe partial IntPtr VdpauregisterVideoSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged; + public unsafe partial nint VdpauregisterVideoSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged; [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public partial IntPtr VdpauregisterVideoSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames) where T0 : unmanaged; + public partial nint VdpauregisterVideoSurface([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames) where T0 : unmanaged; [NativeApi(EntryPoint = "glVDPAUSurfaceAccessNV")] - public partial void VdpausurfaceAccess([Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV access); + public partial void VdpausurfaceAccess([Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV access); [NativeApi(EntryPoint = "glVDPAUUnmapSurfacesNV")] - public unsafe partial void VdpauunmapSurfaces([Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] IntPtr* surfaces); + public unsafe partial void VdpauunmapSurfaces([Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] nint* surfaces); [NativeApi(EntryPoint = "glVDPAUUnmapSurfacesNV")] - public partial void VdpauunmapSurfaces([Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] in IntPtr surfaces); + public partial void VdpauunmapSurfaces([Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] in nint surfaces); [NativeApi(EntryPoint = "glVDPAUUnregisterSurfaceNV")] - public partial void VdpauunregisterSurface([Flow(FlowDirection.In)] IntPtr surface); + public partial void VdpauunregisterSurface([Flow(FlowDirection.In)] nint surface); public NVVdpauInterop(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2.gen.cs index 0886026974..24b62102f8 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class NVVdpauInterop2 : NativeExtension { public const string ExtensionName = "NV_vdpau_interop2"; [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceWithPictureStructureNV")] - public unsafe partial IntPtr VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure); + public unsafe partial nint VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure); [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceWithPictureStructureNV")] - public unsafe partial IntPtr VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames, [Flow(FlowDirection.In)] bool isFrameStructure); + public unsafe partial nint VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames, [Flow(FlowDirection.In)] bool isFrameStructure); [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceWithPictureStructureNV")] - public unsafe partial IntPtr VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged; + public unsafe partial nint VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged; [NativeApi(EntryPoint = "glVDPAURegisterVideoSurfaceWithPictureStructureNV")] - public partial IntPtr VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged; + public partial nint VdpauregisterVideoSurfaceWithPictureStructure([Flow(FlowDirection.In)] in T0 vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] in uint textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged; public NVVdpauInterop2(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2Overloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2Overloads.gen.cs index ba9c67ec32..c422845582 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2Overloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInterop2Overloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NV { public static class NVVdpauInterop2Overloads { - public static unsafe IntPtr VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) + public static unsafe nint VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) { // SpanOverloader return thisApi.VdpauregisterVideoSurfaceWithPictureStructure(vdpSurface, target, numTextureNames, in textureNames.GetPinnableReference(), isFrameStructure); } - public static unsafe IntPtr VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged + public static unsafe nint VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterVideoSurfaceWithPictureStructure(in vdpSurface.GetPinnableReference(), target, numTextureNames, textureNames, isFrameStructure); } - public static unsafe IntPtr VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged + public static unsafe nint VdpauregisterVideoSurfaceWithPictureStructure(this NVVdpauInterop2 thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames, [Flow(FlowDirection.In)] bool isFrameStructure) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterVideoSurfaceWithPictureStructure(in vdpSurface.GetPinnableReference(), target, numTextureNames, in textureNames.GetPinnableReference(), isFrameStructure); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInteropOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInteropOverloads.gen.cs index 61bdced91a..fdd6d127b8 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInteropOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVdpauInteropOverloads.gen.cs @@ -18,19 +18,19 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NV { public static class NVVdpauInteropOverloads { - public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.VdpaugetSurface(surface, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.VdpaugetSurface(surface, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] IntPtr surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void VdpaugetSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] nint surface, [Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.VdpaugetSurface(surface, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); @@ -54,49 +54,49 @@ public static unsafe void Vdpauinit(this NVVdpauInterop thisApi, [Flow(F thisApi.Vdpauinit(in vdpDevice.GetPinnableReference(), in getProcAddress.GetPinnableReference()); } - public static unsafe void VdpaumapSurfaces(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] ReadOnlySpan surfaces) + public static unsafe void VdpaumapSurfaces(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] uint numSurfaces, [Count(Parameter = "numSurfaces"), Flow(FlowDirection.In)] ReadOnlySpan surfaces) { // SpanOverloader thisApi.VdpaumapSurfaces(numSurfaces, in surfaces.GetPinnableReference()); } - public static unsafe IntPtr VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) + public static unsafe nint VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) { // SpanOverloader return thisApi.VdpauregisterOutputSurface(vdpSurface, target, numTextureNames, in textureNames.GetPinnableReference()); } - public static unsafe IntPtr VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged + public static unsafe nint VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterOutputSurface(in vdpSurface.GetPinnableReference(), target, numTextureNames, textureNames); } - public static unsafe IntPtr VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) where T0 : unmanaged + public static unsafe nint VdpauregisterOutputSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterOutputSurface(in vdpSurface.GetPinnableReference(), target, numTextureNames, in textureNames.GetPinnableReference()); } - public static unsafe IntPtr VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) + public static unsafe nint VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] void* vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) { // SpanOverloader return thisApi.VdpauregisterVideoSurface(vdpSurface, target, numTextureNames, in textureNames.GetPinnableReference()); } - public static unsafe IntPtr VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged + public static unsafe nint VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] uint* textureNames) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterVideoSurface(in vdpSurface.GetPinnableReference(), target, numTextureNames, textureNames); } - public static unsafe IntPtr VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) where T0 : unmanaged + public static unsafe nint VdpauregisterVideoSurface(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] ReadOnlySpan vdpSurface, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint numTextureNames, [Count(Parameter = "numTextureNames"), Flow(FlowDirection.In)] ReadOnlySpan textureNames) where T0 : unmanaged { // SpanOverloader return thisApi.VdpauregisterVideoSurface(in vdpSurface.GetPinnableReference(), target, numTextureNames, in textureNames.GetPinnableReference()); } - public static unsafe void VdpauunmapSurfaces(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] ReadOnlySpan surfaces) + public static unsafe void VdpauunmapSurfaces(this NVVdpauInterop thisApi, [Flow(FlowDirection.In)] uint numSurface, [Count(Parameter = "numSurface"), Flow(FlowDirection.In)] ReadOnlySpan surfaces) { // SpanOverloader thisApi.VdpauunmapSurfaces(numSurface, in surfaces.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs index 421c7787d4..c8bf638822 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVertexBufferUnifiedMemory.gen.cs @@ -23,7 +23,7 @@ public unsafe partial class NVVertexBufferUnifiedMemory : NativeExtension { public const string ExtensionName = "NV_vertex_buffer_unified_memory"; [NativeApi(EntryPoint = "glBufferAddressRangeNV")] - public partial void BufferAddressRange([Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] ulong address, [Flow(FlowDirection.In)] UIntPtr length); + public partial void BufferAddressRange([Flow(FlowDirection.In)] NV pname, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] ulong address, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glColorFormatNV")] public partial void ColorFormat([Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] NV type, [Flow(FlowDirection.In)] uint stride); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVideoCapture.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVideoCapture.gen.cs index 9bd6ba7ba0..c43464f06c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVideoCapture.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVVideoCapture.gen.cs @@ -26,7 +26,7 @@ public unsafe partial class NVVideoCapture : NativeExtension public partial void BeginVideoCapture([Flow(FlowDirection.In)] uint video_capture_slot); [NativeApi(EntryPoint = "glBindVideoCaptureStreamBufferNV")] - public partial void BindVideoCaptureStreamBuffer([Flow(FlowDirection.In)] uint video_capture_slot, [Flow(FlowDirection.In)] uint stream, [Flow(FlowDirection.In)] NV frame_region, [Flow(FlowDirection.In)] IntPtr offset); + public partial void BindVideoCaptureStreamBuffer([Flow(FlowDirection.In)] uint video_capture_slot, [Flow(FlowDirection.In)] uint stream, [Flow(FlowDirection.In)] NV frame_region, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glBindVideoCaptureStreamTextureNV")] public partial void BindVideoCaptureStreamTexture([Flow(FlowDirection.In)] uint video_capture_slot, [Flow(FlowDirection.In)] uint stream, [Flow(FlowDirection.In)] NV frame_region, [Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] uint texture); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2.gen.cs index 6b90ceef75..aebdf5bdfd 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2.gen.cs @@ -23,52 +23,52 @@ public unsafe partial class NvxGpuMulticast2 : NativeExtension { public const string ExtensionName = "NVX_gpu_multicast2"; [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); + public unsafe partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyBufferSubDataNVX")] - public partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); + public partial uint AsyncCopyBufferSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in uint waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] in ulong fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in uint signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] in ulong signalValueArray); [NativeApi(EntryPoint = "glAsyncCopyImageSubDataNVX")] public unsafe partial uint AsyncCopyImageSubData([Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* waitValueArray, [Flow(FlowDirection.In)] uint srcGpu, [Flow(FlowDirection.In)] uint dstGpuMask, [Flow(FlowDirection.In)] uint srcName, [Flow(FlowDirection.In)] NVX srcTarget, [Flow(FlowDirection.In)] int srcLevel, [Flow(FlowDirection.In)] int srcX, [Flow(FlowDirection.In)] int srcY, [Flow(FlowDirection.In)] int srcZ, [Flow(FlowDirection.In)] uint dstName, [Flow(FlowDirection.In)] NVX dstTarget, [Flow(FlowDirection.In)] int dstLevel, [Flow(FlowDirection.In)] int dstX, [Flow(FlowDirection.In)] int dstY, [Flow(FlowDirection.In)] int dstZ, [Flow(FlowDirection.In)] uint srcWidth, [Flow(FlowDirection.In)] uint srcHeight, [Flow(FlowDirection.In)] uint srcDepth, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2Overloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2Overloads.gen.cs index 25f9c46d42..54386b3bb7 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2Overloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxGpuMulticast2Overloads.gen.cs @@ -18,91 +18,91 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NVX { public static class NvxGpuMulticast2Overloads { - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] uint* waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, waitSemaphoreArray, in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ulong* fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] uint* signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, in signalValueArray.GetPinnableReference()); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ulong* signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), signalValueArray); } - public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) + public static unsafe uint AsyncCopyBufferSubData(this NvxGpuMulticast2 thisApi, [Flow(FlowDirection.In)] uint waitSemaphoreCount, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan waitSemaphoreArray, [Count(Parameter = "waitSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan fenceValueArray, [Flow(FlowDirection.In)] uint readGpu, [Flow(FlowDirection.In)] uint writeGpuMask, [Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint signalSemaphoreCount, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalSemaphoreArray, [Count(Parameter = "signalSemaphoreCount"), Flow(FlowDirection.In)] ReadOnlySpan signalValueArray) { // SpanOverloader return thisApi.AsyncCopyBufferSubData(waitSemaphoreCount, in waitSemaphoreArray.GetPinnableReference(), in fenceValueArray.GetPinnableReference(), readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, in signalSemaphoreArray.GetPinnableReference(), in signalValueArray.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticast.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticast.gen.cs index 13fe4ccfc9..177c2412e8 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticast.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticast.gen.cs @@ -29,10 +29,10 @@ public unsafe partial class NvxLinkedGpuMulticast : NativeExtension public partial void Lgpuinterlock(); [NativeApi(EntryPoint = "glLGPUNamedBufferSubDataNVX")] - public unsafe partial void LgpunamedBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data); + public unsafe partial void LgpunamedBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glLGPUNamedBufferSubDataNVX")] - public partial void LgpunamedBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void LgpunamedBufferSubData([Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; public NvxLinkedGpuMulticast(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticastOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticastOverloads.gen.cs index 25c7093d81..4ab90c1b92 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticastOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NVX/NvxLinkedGpuMulticastOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenGL.Legacy.Extensions.NVX { public static class NvxLinkedGpuMulticastOverloads { - public static unsafe void LgpunamedBufferSubData(this NvxLinkedGpuMulticast thisApi, [Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void LgpunamedBufferSubData(this NvxLinkedGpuMulticast thisApi, [Flow(FlowDirection.In)] uint gpuMask, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.LgpunamedBufferSubData(gpuMask, buffer, offset, size, in data.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSync.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSync.gen.cs index 1401130a25..1f668c2907 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSync.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSync.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class AppleSync : NativeExtension { public const string ExtensionName = "APPLE_sync"; [NativeApi(EntryPoint = "glClientWaitSyncAPPLE")] - public partial APPLE ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial APPLE ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glDeleteSyncAPPLE")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glFenceSyncAPPLE")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] APPLE condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] APPLE condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSyncAPPLE")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glGetInteger64vAPPLE")] public unsafe partial void GetInteger64([Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.Out)] long* @params); @@ -47,34 +47,34 @@ public unsafe partial class AppleSync : NativeExtension public partial void GetInteger64([Flow(FlowDirection.In)] GetPName pname, [Flow(FlowDirection.Out)] out long @params); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSyncivAPPLE")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glIsSyncAPPLE")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glWaitSyncAPPLE")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); public unsafe long GetInteger64([Flow(FlowDirection.In)] APPLE pname) { diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSyncOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSyncOverloads.gen.cs index e5421b4e1f..27e507ab5a 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSyncOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.APPLE/AppleSyncOverloads.gen.cs @@ -30,37 +30,37 @@ public static unsafe void GetInteger64(this AppleSync thisApi, [Flow(FlowDirecti thisApi.GetInteger64(pname, out @params.GetPinnableReference()); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] APPLE pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this AppleSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorage.gen.cs index b8f1538b81..bc4e00e1f3 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ExtBufferStorage : NativeExtension { public const string ExtensionName = "EXT_buffer_storage"; [NativeApi(EntryPoint = "glBufferStorageEXT")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorageEXT")] - public partial void BufferStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferStorageEXT")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorageEXT")] - public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; public ExtBufferStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorageOverloads.gen.cs index a504f3776f..16e314f103 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtBufferStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGLES.Extensions.EXT { public static class ExtBufferStorageOverloads { - public static unsafe void BufferStorage(this ExtBufferStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ExtBufferStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); } - public static unsafe void BufferStorage(this ExtBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this ExtBufferStorage thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorage.gen.cs index 922f71d998..5ec552e303 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorage.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ExtEglImageStorage : NativeExtension { public const string ExtensionName = "EXT_EGL_image_storage"; [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTexStorageEXT")] - public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTexStorage([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] int* attrib_list); + public unsafe partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] int* attrib_list); [NativeApi(EntryPoint = "glEGLImageTargetTextureStorageEXT")] - public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] in int attrib_list); + public partial void EglimageTargetTextureStorage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] in int attrib_list); public ExtEglImageStorage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs index ee7fc99db0..8008c749c9 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtEglImageStorageOverloads.gen.cs @@ -18,13 +18,13 @@ namespace Silk.NET.OpenGLES.Extensions.EXT { public static class ExtEglImageStorageOverloads { - public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTexStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTexStorage(target, image, in attrib_list.GetPinnableReference()); } - public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] IntPtr image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) + public static unsafe void EglimageTargetTextureStorage(this ExtEglImageStorage thisApi, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] nint image, [Flow(FlowDirection.In)] ReadOnlySpan attrib_list) { // SpanOverloader thisApi.EglimageTargetTextureStorage(texture, image, in attrib_list.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtExternalBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtExternalBuffer.gen.cs index 4911e83cf3..7e6bdb22db 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtExternalBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtExternalBuffer.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ExtExternalBuffer : NativeExtension { public const string ExtensionName = "EXT_external_buffer"; [NativeApi(EntryPoint = "glBufferStorageExternalEXT")] - public partial void BufferStorageExternal([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] IntPtr clientBuffer, [Flow(FlowDirection.In)] uint flags); + public partial void BufferStorageExternal([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] nint clientBuffer, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorageExternalEXT")] - public partial void NamedBufferStorageExternal([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] IntPtr clientBuffer, [Flow(FlowDirection.In)] uint flags); + public partial void NamedBufferStorageExternal([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] nint clientBuffer, [Flow(FlowDirection.In)] uint flags); public ExtExternalBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMapBufferRange.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMapBufferRange.gen.cs index 4d853abb85..5b2cba5d9b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMapBufferRange.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMapBufferRange.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class ExtMapBufferRange : NativeExtension { public const string ExtensionName = "EXT_map_buffer_range"; [NativeApi(EntryPoint = "glFlushMappedBufferRangeEXT")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRangeEXT")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glMapBufferRangeEXT")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRangeEXT")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); public ExtMapBufferRange(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMemoryObject.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMemoryObject.gen.cs index ced032f95b..ab199cd84b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMemoryObject.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtMemoryObject.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class ExtMemoryObject : NativeExtension { public const string ExtensionName = "EXT_memory_object"; [NativeApi(EntryPoint = "glBufferStorageMemEXT")] - public partial void BufferStorageMem([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void BufferStorageMem([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glBufferStorageMemEXT")] - public partial void BufferStorageMem([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void BufferStorageMem([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glCreateMemoryObjectsEXT")] public unsafe partial void CreateMemoryObjects([Flow(FlowDirection.In)] uint n, [Flow(FlowDirection.Out)] uint* memoryObjects); @@ -95,7 +95,7 @@ public unsafe partial class ExtMemoryObject : NativeExtension public partial void MemoryObjectParameter([Flow(FlowDirection.In)] uint memoryObject, [Flow(FlowDirection.In)] MemoryObjectParameterName pname, [Flow(FlowDirection.In)] in int @params); [NativeApi(EntryPoint = "glNamedBufferStorageMemEXT")] - public partial void NamedBufferStorageMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); + public partial void NamedBufferStorageMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); [NativeApi(EntryPoint = "glTexStorageMem2DEXT")] public partial void TexStorageMem2D([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] uint levels, [Flow(FlowDirection.In)] EXT internalFormat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtSeparateShaderObjects.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtSeparateShaderObjects.gen.cs index dffe94f75b..308084296b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtSeparateShaderObjects.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtSeparateShaderObjects.gen.cs @@ -276,8 +276,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] EXT type, [Flow( // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -286,8 +286,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtTextureBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtTextureBuffer.gen.cs index 5aa6ca86e8..456d1e8b2c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtTextureBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.EXT/ExtTextureBuffer.gen.cs @@ -35,16 +35,16 @@ public unsafe partial class ExtTextureBuffer : NativeExtension public partial void TexBuffer([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTexBufferRangeEXT")] - public partial void TexBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeEXT")] - public partial void TexBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeEXT")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeEXT")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); public ExtTextureBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/DebugProcKhr.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/DebugProcKhr.cs index be715aab11..b9d525cb2e 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/DebugProcKhr.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.KHR/DebugProcKhr.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGLES.Extensions.KHR { - public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProcKhr(KHR source, KHR type, int id, KHR severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVCopyBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVCopyBuffer.gen.cs index 62a8f9c070..5081152d5f 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVCopyBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVCopyBuffer.gen.cs @@ -23,16 +23,16 @@ public unsafe partial class NVCopyBuffer : NativeExtension { public const string ExtensionName = "NV_copy_buffer"; [NativeApi(EntryPoint = "glCopyBufferSubDataNV")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] NV readTarget, [Flow(FlowDirection.In)] NV writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] NV readTarget, [Flow(FlowDirection.In)] NV writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubDataNV")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] NV readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] NV readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubDataNV")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] NV writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] NV writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubDataNV")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); public NVCopyBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImage.gen.cs index 8a7b140a11..8816324d8b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImage.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVDrawVulkanImage : NativeExtension public partial void DrawVkImage([Flow(FlowDirection.In)] ulong vkImage, [Flow(FlowDirection.In)] uint sampler, [Flow(FlowDirection.In)] float x0, [Flow(FlowDirection.In)] float y0, [Flow(FlowDirection.In)] float x1, [Flow(FlowDirection.In)] float y1, [Flow(FlowDirection.In)] float z, [Flow(FlowDirection.In)] float s0, [Flow(FlowDirection.In)] float t0, [Flow(FlowDirection.In)] float s1, [Flow(FlowDirection.In)] float t1); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public unsafe partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); + public unsafe partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] byte* name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); + public partial nint GetVkProcAddr([Count(Computed = "name"), Flow(FlowDirection.In)] in byte name); [NativeApi(EntryPoint = "glGetVkProcAddrNV")] - public partial IntPtr GetVkProcAddr([Flow(FlowDirection.In)] string name); + public partial nint GetVkProcAddr([Flow(FlowDirection.In)] string name); [NativeApi(EntryPoint = "glSignalVkFenceNV")] public partial void SignalVkFence([Flow(FlowDirection.In)] ulong vkFence); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs index d221088b66..b07ce11aa4 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVDrawVulkanImageOverloads.gen.cs @@ -18,7 +18,7 @@ namespace Silk.NET.OpenGLES.Extensions.NV { public static class NVDrawVulkanImageOverloads { - public static unsafe IntPtr GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) + public static unsafe nint GetVkProcAddr(this NVDrawVulkanImage thisApi, [Count(Computed = "name"), Flow(FlowDirection.In)] ReadOnlySpan name) { // SpanOverloader return thisApi.GetVkProcAddr(in name.GetPinnableReference()); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMemoryObjectSparse.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMemoryObjectSparse.gen.cs index 5f1d2e9c82..02b4f9e7a1 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMemoryObjectSparse.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMemoryObjectSparse.gen.cs @@ -23,13 +23,13 @@ public unsafe partial class NVMemoryObjectSparse : NativeExtension { public const string ExtensionName = "NV_memory_object_sparse"; [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glBufferPageCommitmentMemNV")] - public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void BufferPageCommitmentMem([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glNamedBufferPageCommitmentMemNV")] - public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); + public partial void NamedBufferPageCommitmentMem([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong memOffset, [Flow(FlowDirection.In)] bool commit); [NativeApi(EntryPoint = "glTexPageCommitmentMemNV")] public partial void TexPageCommitmentMem([Flow(FlowDirection.In)] NV target, [Flow(FlowDirection.In)] int layer, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong offset, [Flow(FlowDirection.In)] bool commit); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMeshShader.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMeshShader.gen.cs index 50d0f31ecb..7f6f8ae7d4 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMeshShader.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVMeshShader.gen.cs @@ -26,13 +26,13 @@ public unsafe partial class NVMeshShader : NativeExtension public partial void DrawMeshTask([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count); [NativeApi(EntryPoint = "glDrawMeshTasksIndirectNV")] - public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectNV")] - public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirect([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] uint drawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawMeshTasksIndirectCountNV")] - public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] IntPtr indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public partial void MultiDrawMeshTasksIndirectCount([Flow(FlowDirection.In)] nint indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); public NVMeshShader(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRendering.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRendering.gen.cs index 5737aeff44..789cf8d189 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRendering.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRendering.gen.cs @@ -860,10 +860,10 @@ public unsafe partial class NVPathRendering : NativeExtension public partial void PathGlyphRange([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] PathFontTarget fontTarget, [Count(Computed = "fontTarget, fontName"), Flow(FlowDirection.In)] in T0 fontName, [Flow(FlowDirection.In)] uint fontStyle, [Flow(FlowDirection.In)] uint firstGlyph, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] PathHandleMissingGlyphs handleMissingGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); + public unsafe partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] void* fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale); [NativeApi(EntryPoint = "glPathMemoryGlyphIndexArrayNV")] - public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; + public partial NV PathMemoryGlyphIndexArray([Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] in T0 fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged; [NativeApi(EntryPoint = "glPathParameterivNV")] public unsafe partial void PathParameter([Flow(FlowDirection.In)] uint path, [Flow(FlowDirection.In)] NV pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int* value); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRenderingOverloads.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRenderingOverloads.gen.cs index 1af90107f4..c5689e0c45 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRenderingOverloads.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.NV/NVPathRenderingOverloads.gen.cs @@ -996,7 +996,7 @@ public static unsafe void PathGlyphRange(this NVPathRendering thisApi, [Flow thisApi.PathGlyphRange(firstPathName, fontTarget, in fontName.GetPinnableReference(), fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); } - public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] UIntPtr fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged + public static unsafe NV PathMemoryGlyphIndexArray(this NVPathRendering thisApi, [Flow(FlowDirection.In)] uint firstPathName, [Flow(FlowDirection.In)] NV fontTarget, [Flow(FlowDirection.In)] nuint fontSize, [Flow(FlowDirection.In)] ReadOnlySpan fontData, [Flow(FlowDirection.In)] uint faceIndex, [Flow(FlowDirection.In)] uint firstGlyphIndex, [Flow(FlowDirection.In)] uint numGlyphs, [Flow(FlowDirection.In)] uint pathParameterTemplate, [Flow(FlowDirection.In)] float emScale) where T0 : unmanaged { // SpanOverloader return thisApi.PathMemoryGlyphIndexArray(firstPathName, fontTarget, fontSize, in fontData.GetPinnableReference(), faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImage.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImage.gen.cs index f25bddced7..409376eb3b 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImage.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesEglImage.gen.cs @@ -23,10 +23,10 @@ public unsafe partial class OesEglImage : NativeExtension { public const string ExtensionName = "OES_EGL_image"; [NativeApi(EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public partial void EglimageTargetRenderbufferStorage([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] IntPtr image); + public partial void EglimageTargetRenderbufferStorage([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] nint image); [NativeApi(EntryPoint = "glEGLImageTargetTexture2DOES")] - public partial void EglimageTargetTexture2D([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] IntPtr image); + public partial void EglimageTargetTexture2D([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] nint image); public OesEglImage(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesTextureBuffer.gen.cs b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesTextureBuffer.gen.cs index 105ce6e0dd..ed5ccc734c 100644 --- a/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesTextureBuffer.gen.cs +++ b/src/OpenGL/Extensions/Silk.NET.OpenGLES.Extensions.OES/OesTextureBuffer.gen.cs @@ -35,16 +35,16 @@ public unsafe partial class OesTextureBuffer : NativeExtension public partial void TexBuffer([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTexBufferRangeOES")] - public partial void TexBufferRange([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] OES internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] OES internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeOES")] - public partial void TexBufferRange([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] OES target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeOES")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] OES internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] OES internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRangeOES")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); public OesTextureBuffer(INativeContext ctx) : base(ctx) diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/DebugProc.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/DebugProc.cs index c368a5f249..bc5a8f1587 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/DebugProc.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/DebugProc.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL.Legacy { - public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.cs index 7bc37a9a46..bcac8a979c 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.cs @@ -22,7 +22,7 @@ public static GL GetApi(IGLContextSource contextSource) => GetApi ); public static GL GetApi(IGLContext ctx) => GetApi((INativeContext) ctx); - public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); + public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); public static GL GetApi(INativeContext ctx) => new GL(ctx); diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs index f978068cc6..d10f290d88 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/GL.gen.cs @@ -20,40 +20,40 @@ public unsafe partial class GL : NativeAPI { [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glPolygonOffsetClamp")] public partial void PolygonOffsetClamp([Flow(FlowDirection.In)] float factor, [Flow(FlowDirection.In)] float units, [Flow(FlowDirection.In)] float clamp); @@ -158,52 +158,52 @@ public unsafe partial class GL : NativeAPI public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedFramebufferiv")] public unsafe partial void ClearNamedFramebuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum buffer, [Flow(FlowDirection.In)] int drawbuffer, [Flow(FlowDirection.In)] int* value); @@ -296,7 +296,7 @@ public unsafe partial class GL : NativeAPI public partial void CompressedTextureSubImage3D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] uint imageSize, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyNamedBufferSubData")] - public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyTextureSubImage1D")] public partial void CopyTextureSubImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width); @@ -446,7 +446,7 @@ public unsafe partial class GL : NativeAPI public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRange")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glGenerateTextureMipmap")] public partial void GenerateTextureMipmap([Flow(FlowDirection.In)] uint texture); @@ -503,10 +503,10 @@ public unsafe partial class GL : NativeAPI public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameteriv")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.Out)] int* @params); @@ -1142,10 +1142,10 @@ public unsafe partial class GL : NativeAPI public partial void GetnUniform([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] out uint @params); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetTextureImage")] public unsafe partial void GetTextureImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] uint bufSize, [Flow(FlowDirection.Out)] void* pixels); @@ -1370,34 +1370,34 @@ public unsafe partial class GL : NativeAPI public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRange")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMemoryBarrierByRegion")] public partial void MemoryBarrierByRegion([Flow(FlowDirection.In)] uint barriers); [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorage")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubData")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubData")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedFramebufferDrawBuffer")] public partial void NamedFramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum buf); @@ -1499,10 +1499,10 @@ public unsafe partial class GL : NativeAPI public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureParameterf")] public partial void TextureParameter([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] float param); @@ -1670,7 +1670,7 @@ public unsafe partial class GL : NativeAPI public partial void TransformFeedbackBufferBase([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTransformFeedbackBufferRange")] - public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glUnmapNamedBuffer")] public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); @@ -1703,55 +1703,55 @@ public unsafe partial class GL : NativeAPI public partial void VertexArrayElementBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayVertexBuffer")] - public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindBuffersBase")] public unsafe partial void BindBuffersBase([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers); @@ -1778,100 +1778,100 @@ public unsafe partial class GL : NativeAPI public partial void BindBuffersBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindImageTextures")] public unsafe partial void BindImageTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* textures); @@ -1910,64 +1910,64 @@ public unsafe partial class GL : NativeAPI public partial void BindTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Texture textures); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearTexImage")] public unsafe partial void ClearTexImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); @@ -2018,7 +2018,7 @@ public unsafe partial class GL : NativeAPI public partial void ClearTexSubImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBindVertexBuffer")] - public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glClearBufferData")] public unsafe partial void ClearBufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); @@ -2117,100 +2117,100 @@ public unsafe partial class GL : NativeAPI public partial void ClearBufferData([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyImageSubData")] public partial void CopyImageSubData([Flow(FlowDirection.In)] uint srcName, [Flow(FlowDirection.In)] GLEnum srcTarget, [Flow(FlowDirection.In)] int srcLevel, [Flow(FlowDirection.In)] int srcX, [Flow(FlowDirection.In)] int srcY, [Flow(FlowDirection.In)] int srcZ, [Flow(FlowDirection.In)] uint dstName, [Flow(FlowDirection.In)] GLEnum dstTarget, [Flow(FlowDirection.In)] int dstLevel, [Flow(FlowDirection.In)] int dstX, [Flow(FlowDirection.In)] int dstY, [Flow(FlowDirection.In)] int dstZ, [Flow(FlowDirection.In)] uint srcWidth, [Flow(FlowDirection.In)] uint srcHeight, [Flow(FlowDirection.In)] uint srcDepth); @@ -2354,7 +2354,7 @@ public unsafe partial class GL : NativeAPI public partial void DispatchCompute([Flow(FlowDirection.In)] uint num_groups_x, [Flow(FlowDirection.In)] uint num_groups_y, [Flow(FlowDirection.In)] uint num_groups_z); [NativeApi(EntryPoint = "glDispatchComputeIndirect")] - public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glFramebufferParameteri")] public partial void FramebufferParameter([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] int param); @@ -5046,7 +5046,7 @@ public unsafe partial class GL : NativeAPI public partial void InvalidateBufferData([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glInvalidateBufferSubData")] - public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glInvalidateFramebuffer")] public unsafe partial void InvalidateFramebuffer([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint numAttachments, [Count(Parameter = "numAttachments"), Flow(FlowDirection.In)] GLEnum* attachments); @@ -5199,16 +5199,16 @@ public unsafe partial class GL : NativeAPI public partial void ShaderStorageBlockBinding([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint storageBlockIndex, [Flow(FlowDirection.In)] uint storageBlockBinding); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexStorage2DMultisample")] public partial void TexStorage2DMultisample([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint samples, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] bool fixedsamplelocations); @@ -7146,10 +7146,10 @@ public unsafe partial class GL : NativeAPI public partial void VertexP4([Flow(FlowDirection.In)] VertexPointerType type, [Count(Count = 1), Flow(FlowDirection.In)] in uint value); [NativeApi(EntryPoint = "glClientWaitSync")] - public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glDeleteSync")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glDrawElementsBaseVertex")] public unsafe partial void DrawElementsBaseVertex([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "count, type"), Flow(FlowDirection.In)] void* indices, [Flow(FlowDirection.In)] int basevertex); @@ -7224,10 +7224,10 @@ public unsafe partial class GL : NativeAPI public partial void DrawRangeElementsBaseVertex([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] uint start, [Flow(FlowDirection.In)] uint end, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] DrawElementsType type, [Count(Computed = "count, type"), Flow(FlowDirection.In)] in T0 indices, [Flow(FlowDirection.In)] int basevertex) where T0 : unmanaged; [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFramebufferTexture")] public partial void FramebufferTexture([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level); @@ -7302,31 +7302,31 @@ public unsafe partial class GL : NativeAPI public partial void GetMultisample([Flow(FlowDirection.In)] GetMultisamplePNameNV pname, [Flow(FlowDirection.In)] uint index, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out float val); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glIsSync")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glMultiDrawElementsBaseVertex")] public unsafe partial void MultiDrawElementsBaseVertex([Flow(FlowDirection.In)] GLEnum mode, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] uint* count, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] void** indices, [Flow(FlowDirection.In)] uint drawcount, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] int* basevertex); @@ -7458,7 +7458,7 @@ public unsafe partial class GL : NativeAPI public partial void TexImage3DMultisample([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] uint samples, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] bool fixedsamplelocations); [NativeApi(EntryPoint = "glWaitSync")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glBindBufferBase")] public partial void BindBufferBase([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); @@ -7467,22 +7467,22 @@ public unsafe partial class GL : NativeAPI public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glDrawArraysInstanced")] public partial void DrawArraysInstanced([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] int first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint instancecount); @@ -7797,10 +7797,10 @@ public unsafe partial class GL : NativeAPI public partial void EndTransformFeedback(); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFramebufferRenderbuffer")] public partial void FramebufferRenderbuffer([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] GLEnum renderbuffertarget, [Flow(FlowDirection.In)] uint renderbuffer); @@ -8307,10 +8307,10 @@ public unsafe partial class GL : NativeAPI public partial bool IsVertexArray([Flow(FlowDirection.In)] uint array); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glRenderbufferStorage")] public partial void RenderbufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height); @@ -9501,40 +9501,40 @@ public unsafe partial class GL : NativeAPI public partial void BindBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glDeleteBuffers")] public unsafe partial void DeleteBuffers([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] uint* buffers); @@ -9639,16 +9639,16 @@ public unsafe partial class GL : NativeAPI public unsafe partial void GetBufferPointer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetBufferSubData")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubData")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetBufferSubData")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubData")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetQueryiv")] public unsafe partial void GetQuery([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int* @params); @@ -14403,8 +14403,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] GLEnum type, [Fl // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -14413,8 +14413,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -14476,8 +14476,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformCount, [Count(Computed = "uniformCount"), Flow(FlowDirection.In)] string[] uniformNamesSa, [Count(Computed = "uniformCount"), Flow(FlowDirection.Out)] out uint uniformIndices) @@ -14485,8 +14485,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, out uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void DeleteFramebuffer([Count(Parameter = "n"), Flow(FlowDirection.In)] uint framebuffers) @@ -14539,8 +14539,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] varyingsSa, [Flow(FlowDirection.In)] TransformFeedbackBufferMode bufferMode) @@ -14548,8 +14548,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] int* length) @@ -14557,8 +14557,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -14566,8 +14566,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void DeleteBuffer([Count(Parameter = "n"), Flow(FlowDirection.In)] uint buffers) diff --git a/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs b/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs index d7680b0afa..f6b2daaff0 100644 --- a/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL.Legacy/GLOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenGL.Legacy { public static class GLOverloads { - public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); @@ -162,49 +162,49 @@ public static unsafe void ClearNamedBufferData(this GL thisApi, [Flow(FlowDi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -450,7 +450,7 @@ public static unsafe void GetNamedBufferParameter(this GL thisApi, [Flow(FlowDir thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -1452,25 +1452,25 @@ public static unsafe void InvalidateNamedFramebufferSubData(this GL thisApi, [Fl thisApi.InvalidateNamedFramebufferSubData(framebuffer, numAttachments, in attachments.GetPinnableReference(), x, y, width, height); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); @@ -1632,85 +1632,85 @@ public static unsafe void TextureSubImage3D(this GL thisApi, [Flow(FlowDirec thisApi.TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); @@ -1740,169 +1740,169 @@ public static unsafe void BindBuffersBase(this GL thisApi, [Flow(FlowDirection.I thisApi.BindBuffersBase(target, first, count, in buffers.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); @@ -1944,97 +1944,97 @@ public static unsafe void BindTextures(this GL thisApi, [Flow(FlowDirection.In)] thisApi.BindTextures(first, count, in textures.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); } - public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); @@ -2184,97 +2184,97 @@ public static unsafe void ClearBufferData(this GL thisApi, [Flow(FlowDirecti thisApi.ClearBufferData(target, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -9192,37 +9192,37 @@ public static unsafe void GetMultisample(this GL thisApi, [Flow(FlowDirection.In thisApi.GetMultisample(pname, index, out val.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); @@ -11304,37 +11304,37 @@ public static unsafe void VertexAttribPointer(this GL thisApi, [Flow(FlowDir thisApi.VertexAttribPointer(index, size, type, normalized, stride, in pointer.GetPinnableReference()); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); @@ -11412,13 +11412,13 @@ public static unsafe void GetBufferParameter(this GL thisApi, [Flow(FlowDirectio thisApi.GetBufferParameter(target, pname, out @params.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); diff --git a/src/OpenGL/Silk.NET.OpenGL/DebugProc.cs b/src/OpenGL/Silk.NET.OpenGL/DebugProc.cs index a3854cd4cc..f951cb42f1 100644 --- a/src/OpenGL/Silk.NET.OpenGL/DebugProc.cs +++ b/src/OpenGL/Silk.NET.OpenGL/DebugProc.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGL { - public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Silk.NET.OpenGL/GL.cs b/src/OpenGL/Silk.NET.OpenGL/GL.cs index 0f714d7ace..66f19a8b03 100644 --- a/src/OpenGL/Silk.NET.OpenGL/GL.cs +++ b/src/OpenGL/Silk.NET.OpenGL/GL.cs @@ -61,7 +61,7 @@ public static GL GetApi(IGLContextSource contextSource) => GetApi /// /// A instance. /// - public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); + public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); /// /// Creates a instance from an . diff --git a/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs b/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs index 911b7b7e50..577d348206 100644 --- a/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL/GL.gen.cs @@ -20,40 +20,40 @@ public unsafe partial class GL : NativeAPI { [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawArraysIndirectCount")] - public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawArraysIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); + public unsafe partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] void* indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glMultiDrawElementsIndirectCount")] - public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; + public partial void MultiDrawElementsIndirectCount([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] in T0 indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged; [NativeApi(EntryPoint = "glPolygonOffsetClamp")] public partial void PolygonOffsetClamp([Flow(FlowDirection.In)] float factor, [Flow(FlowDirection.In)] float units, [Flow(FlowDirection.In)] float clamp); @@ -158,52 +158,52 @@ public unsafe partial class GL : NativeAPI public partial void ClearNamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearNamedBufferSubData")] - public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearNamedFramebufferiv")] public unsafe partial void ClearNamedFramebuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum buffer, [Flow(FlowDirection.In)] int drawbuffer, [Flow(FlowDirection.In)] int* value); @@ -296,7 +296,7 @@ public unsafe partial class GL : NativeAPI public partial void CompressedTextureSubImage3D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] uint imageSize, [Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyNamedBufferSubData")] - public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyNamedBufferSubData([Flow(FlowDirection.In)] uint readBuffer, [Flow(FlowDirection.In)] uint writeBuffer, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyTextureSubImage1D")] public partial void CopyTextureSubImage1D([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width); @@ -446,7 +446,7 @@ public unsafe partial class GL : NativeAPI public partial void EnableVertexArrayAttrib([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glFlushMappedNamedBufferRange")] - public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glGenerateTextureMipmap")] public partial void GenerateTextureMipmap([Flow(FlowDirection.In)] uint texture); @@ -503,10 +503,10 @@ public unsafe partial class GL : NativeAPI public unsafe partial void GetNamedBufferPointer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetNamedBufferSubData")] - public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetNamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetNamedFramebufferAttachmentParameteriv")] public unsafe partial void GetNamedFramebufferAttachmentParameter([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.Out)] int* @params); @@ -1142,10 +1142,10 @@ public unsafe partial class GL : NativeAPI public partial void GetnUniform([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] int location, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] out uint @params); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetQueryBufferObjecti64v")] - public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] IntPtr offset); + public partial void GetQueryBufferObject([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] QueryObjectParameterName pname, [Flow(FlowDirection.In)] nint offset); [NativeApi(EntryPoint = "glGetTextureImage")] public unsafe partial void GetTextureImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] uint bufSize, [Flow(FlowDirection.Out)] void* pixels); @@ -1370,34 +1370,34 @@ public unsafe partial class GL : NativeAPI public unsafe partial void* MapNamedBuffer([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] BufferAccessARB access); [NativeApi(EntryPoint = "glMapNamedBufferRange")] - public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapNamedBufferRange([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMemoryBarrierByRegion")] public partial void MemoryBarrierByRegion([Flow(FlowDirection.In)] uint barriers); [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferData")] - public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); + public unsafe partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage); [NativeApi(EntryPoint = "glNamedBufferData")] - public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; + public partial void NamedBufferData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferStorage")] - public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glNamedBufferStorage")] - public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void NamedBufferStorage([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedBufferSubData")] - public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glNamedBufferSubData")] - public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void NamedBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glNamedFramebufferDrawBuffer")] public partial void NamedFramebufferDrawBuffer([Flow(FlowDirection.In)] uint framebuffer, [Flow(FlowDirection.In)] GLEnum buf); @@ -1499,10 +1499,10 @@ public unsafe partial class GL : NativeAPI public partial void TextureBuffer([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureBufferRange")] - public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TextureBufferRange([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTextureParameterf")] public partial void TextureParameter([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] float param); @@ -1670,7 +1670,7 @@ public unsafe partial class GL : NativeAPI public partial void TransformFeedbackBufferBase([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTransformFeedbackBufferRange")] - public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TransformFeedbackBufferRange([Flow(FlowDirection.In)] uint xfb, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glUnmapNamedBuffer")] public partial bool UnmapNamedBuffer([Flow(FlowDirection.In)] uint buffer); @@ -1703,55 +1703,55 @@ public unsafe partial class GL : NativeAPI public partial void VertexArrayElementBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glVertexArrayVertexBuffer")] - public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void VertexArrayVertexBuffer([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in uint buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] in uint strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] uint* strides); + public unsafe partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glVertexArrayVertexBuffers")] - public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in IntPtr offsets, [Flow(FlowDirection.In)] in uint strides); + public partial void VertexArrayVertexBuffers([Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] in Buffer buffers, [Flow(FlowDirection.In)] in nint offsets, [Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindBuffersBase")] public unsafe partial void BindBuffersBase([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers); @@ -1778,100 +1778,100 @@ public unsafe partial class GL : NativeAPI public partial void BindBuffersBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes); + public unsafe partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes); [NativeApi(EntryPoint = "glBindBuffersRange")] - public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in UIntPtr sizes); + public partial void BindBuffersRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nuint sizes); [NativeApi(EntryPoint = "glBindImageTextures")] public unsafe partial void BindImageTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* textures); @@ -1910,64 +1910,64 @@ public unsafe partial class GL : NativeAPI public partial void BindTextures([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Texture textures); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); + public unsafe partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides); [NativeApi(EntryPoint = "glBindVertexBuffers")] - public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in IntPtr offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); + public partial void BindVertexBuffers([Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Buffer buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] in nint offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] in uint strides); [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferStorage")] - public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); + public unsafe partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glBufferStorage")] - public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; + public partial void BufferStorage([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearTexImage")] public unsafe partial void ClearTexImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); @@ -2018,7 +2018,7 @@ public unsafe partial class GL : NativeAPI public partial void ClearTexSubImage([Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBindVertexBuffer")] - public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glClearBufferData")] public unsafe partial void ClearBufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); @@ -2117,100 +2117,100 @@ public unsafe partial class GL : NativeAPI public partial void ClearBufferData([Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glClearBufferSubData")] - public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); + public unsafe partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glClearBufferSubData")] - public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void ClearBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyImageSubData")] public partial void CopyImageSubData([Flow(FlowDirection.In)] uint srcName, [Flow(FlowDirection.In)] GLEnum srcTarget, [Flow(FlowDirection.In)] int srcLevel, [Flow(FlowDirection.In)] int srcX, [Flow(FlowDirection.In)] int srcY, [Flow(FlowDirection.In)] int srcZ, [Flow(FlowDirection.In)] uint dstName, [Flow(FlowDirection.In)] GLEnum dstTarget, [Flow(FlowDirection.In)] int dstLevel, [Flow(FlowDirection.In)] int dstX, [Flow(FlowDirection.In)] int dstY, [Flow(FlowDirection.In)] int dstZ, [Flow(FlowDirection.In)] uint srcWidth, [Flow(FlowDirection.In)] uint srcHeight, [Flow(FlowDirection.In)] uint srcDepth); @@ -2354,7 +2354,7 @@ public unsafe partial class GL : NativeAPI public partial void DispatchCompute([Flow(FlowDirection.In)] uint num_groups_x, [Flow(FlowDirection.In)] uint num_groups_y, [Flow(FlowDirection.In)] uint num_groups_z); [NativeApi(EntryPoint = "glDispatchComputeIndirect")] - public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glFramebufferParameteri")] public partial void FramebufferParameter([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] int param); @@ -5030,7 +5030,7 @@ public unsafe partial class GL : NativeAPI public partial void InvalidateBufferData([Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glInvalidateBufferSubData")] - public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void InvalidateBufferSubData([Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glInvalidateFramebuffer")] public unsafe partial void InvalidateFramebuffer([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint numAttachments, [Count(Parameter = "numAttachments"), Flow(FlowDirection.In)] GLEnum* attachments); @@ -5183,16 +5183,16 @@ public unsafe partial class GL : NativeAPI public partial void ShaderStorageBlockBinding([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint storageBlockIndex, [Flow(FlowDirection.In)] uint storageBlockBinding); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexStorage2DMultisample")] public partial void TexStorage2DMultisample([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint samples, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] bool fixedsamplelocations); @@ -7130,10 +7130,10 @@ public unsafe partial class GL : NativeAPI public partial void VertexP4([Flow(FlowDirection.In)] VertexPointerType type, [Count(Count = 1), Flow(FlowDirection.In)] in uint value); [NativeApi(EntryPoint = "glClientWaitSync")] - public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glDeleteSync")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glDrawElementsBaseVertex")] public unsafe partial void DrawElementsBaseVertex([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "count, type"), Flow(FlowDirection.In)] void* indices, [Flow(FlowDirection.In)] int basevertex); @@ -7208,10 +7208,10 @@ public unsafe partial class GL : NativeAPI public partial void DrawRangeElementsBaseVertex([Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] uint start, [Flow(FlowDirection.In)] uint end, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] DrawElementsType type, [Count(Computed = "count, type"), Flow(FlowDirection.In)] in T0 indices, [Flow(FlowDirection.In)] int basevertex) where T0 : unmanaged; [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFramebufferTexture")] public partial void FramebufferTexture([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level); @@ -7286,31 +7286,31 @@ public unsafe partial class GL : NativeAPI public partial void GetMultisample([Flow(FlowDirection.In)] GetMultisamplePNameNV pname, [Flow(FlowDirection.In)] uint index, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out float val); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glIsSync")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glMultiDrawElementsBaseVertex")] public unsafe partial void MultiDrawElementsBaseVertex([Flow(FlowDirection.In)] GLEnum mode, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] uint* count, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] void** indices, [Flow(FlowDirection.In)] uint drawcount, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] int* basevertex); @@ -7442,7 +7442,7 @@ public unsafe partial class GL : NativeAPI public partial void TexImage3DMultisample([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] uint samples, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] bool fixedsamplelocations); [NativeApi(EntryPoint = "glWaitSync")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glBindBufferBase")] public partial void BindBufferBase([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); @@ -7451,22 +7451,22 @@ public unsafe partial class GL : NativeAPI public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glDrawArraysInstanced")] public partial void DrawArraysInstanced([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] int first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint instancecount); @@ -7781,10 +7781,10 @@ public unsafe partial class GL : NativeAPI public partial void EndTransformFeedback(); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFramebufferRenderbuffer")] public partial void FramebufferRenderbuffer([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] GLEnum renderbuffertarget, [Flow(FlowDirection.In)] uint renderbuffer); @@ -8291,10 +8291,10 @@ public unsafe partial class GL : NativeAPI public partial bool IsVertexArray([Flow(FlowDirection.In)] uint array); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glRenderbufferStorage")] public partial void RenderbufferStorage([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height); @@ -9485,40 +9485,40 @@ public unsafe partial class GL : NativeAPI public partial void BindBuffer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glDeleteBuffers")] public unsafe partial void DeleteBuffers([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] uint* buffers); @@ -9623,16 +9623,16 @@ public unsafe partial class GL : NativeAPI public unsafe partial void GetBufferPointer([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] BufferPointerNameARB pname, [Count(Count = 1), Flow(FlowDirection.Out)] out void* @params); [NativeApi(EntryPoint = "glGetBufferSubData")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubData")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetBufferSubData")] - public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); + public unsafe partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] void* data); [NativeApi(EntryPoint = "glGetBufferSubData")] - public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; + public partial void GetBufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] out T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glGetQueryiv")] public unsafe partial void GetQuery([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int* @params); @@ -11022,8 +11022,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] GLEnum type, [Fl // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -11032,8 +11032,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -11095,8 +11095,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformCount, [Count(Computed = "uniformCount"), Flow(FlowDirection.In)] string[] uniformNamesSa, [Count(Computed = "uniformCount"), Flow(FlowDirection.Out)] out uint uniformIndices) @@ -11104,8 +11104,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, out uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void DeleteFramebuffer([Count(Parameter = "n"), Flow(FlowDirection.In)] uint framebuffers) @@ -11158,8 +11158,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] varyingsSa, [Flow(FlowDirection.In)] TransformFeedbackBufferMode bufferMode) @@ -11167,8 +11167,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] int* length) @@ -11176,8 +11176,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -11185,8 +11185,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void DeleteBuffer([Count(Parameter = "n"), Flow(FlowDirection.In)] uint buffers) diff --git a/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs b/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs index b0689a7a2a..bc6154ebfb 100644 --- a/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGL/GLOverloads.gen.cs @@ -18,37 +18,37 @@ namespace Silk.NET.OpenGL { public static class GLOverloads { - public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawArraysIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawArraysIndirectCount(mode, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); } - public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] IntPtr drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged + public static unsafe void MultiDrawElementsIndirectCount(this GL thisApi, [Flow(FlowDirection.In)] PrimitiveType mode, [Flow(FlowDirection.In)] DrawElementsType type, [Flow(FlowDirection.In)] ReadOnlySpan indirect, [Flow(FlowDirection.In)] nint drawcount, [Flow(FlowDirection.In)] uint maxdrawcount, [Flow(FlowDirection.In)] uint stride) where T0 : unmanaged { // SpanOverloader thisApi.MultiDrawElementsIndirectCount(mode, type, in indirect.GetPinnableReference(), drawcount, maxdrawcount, stride); @@ -162,49 +162,49 @@ public static unsafe void ClearNamedBufferData(this GL thisApi, [Flow(FlowDi thisApi.ClearNamedBufferData(buffer, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -450,7 +450,7 @@ public static unsafe void GetNamedBufferParameter(this GL thisApi, [Flow(FlowDir thisApi.GetNamedBufferParameter(buffer, pname, out @params.GetPinnableReference()); } - public static unsafe void GetNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetNamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetNamedBufferSubData(buffer, offset, size, out data.GetPinnableReference()); @@ -1452,25 +1452,25 @@ public static unsafe void InvalidateNamedFramebufferSubData(this GL thisApi, [Fl thisApi.InvalidateNamedFramebufferSubData(framebuffer, numAttachments, in attachments.GetPinnableReference(), x, y, width, height); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged + public static unsafe void NamedBufferData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] VertexBufferObjectUsage usage) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferData(buffer, size, in data.GetPinnableReference(), usage); } - public static unsafe void NamedBufferStorage(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void NamedBufferStorage(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferStorage(buffer, size, in data.GetPinnableReference(), flags); } - public static unsafe void NamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void NamedBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Computed = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.NamedBufferSubData(buffer, offset, size, in data.GetPinnableReference()); @@ -1632,85 +1632,85 @@ public static unsafe void TextureSubImage3D(this GL thisApi, [Flow(FlowDirec thisApi.TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, in pixels.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] uint* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] Buffer* buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] IntPtr* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] nint* offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void VertexArrayVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint vaobj, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Flow(FlowDirection.In)] ReadOnlySpan buffers, [Flow(FlowDirection.In)] ReadOnlySpan offsets, [Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.VertexArrayVertexBuffers(vaobj, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); @@ -1740,169 +1740,169 @@ public static unsafe void BindBuffersBase(this GL thisApi, [Flow(FlowDirection.I thisApi.BindBuffersBase(target, first, count, in buffers.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, buffers, in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), offsets, in sizes.GetPinnableReference()); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] UIntPtr* sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] nuint* sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), sizes); } - public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) + public static unsafe void BindBuffersRange(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan sizes) { // SpanOverloader thisApi.BindBuffersRange(target, first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in sizes.GetPinnableReference()); @@ -1944,97 +1944,97 @@ public static unsafe void BindTextures(this GL thisApi, [Flow(FlowDirection.In)] thisApi.BindTextures(first, count, in textures.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] Buffer* buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, buffers, in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] IntPtr* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] nint* offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), offsets, in strides.GetPinnableReference()); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] uint* strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), strides); } - public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) + public static unsafe void BindVertexBuffers(this GL thisApi, [Flow(FlowDirection.In)] uint first, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan buffers, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan offsets, [Count(Parameter = "count"), Flow(FlowDirection.In)] ReadOnlySpan strides) { // SpanOverloader thisApi.BindVertexBuffers(first, count, in buffers.GetPinnableReference(), in offsets.GetPinnableReference(), in strides.GetPinnableReference()); } - public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); } - public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged + public static unsafe void BufferStorage(this GL thisApi, [Flow(FlowDirection.In)] BufferStorageTarget target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] uint flags) where T0 : unmanaged { // SpanOverloader thisApi.BufferStorage(target, size, in data.GetPinnableReference(), flags); @@ -2184,97 +2184,97 @@ public static unsafe void ClearBufferData(this GL thisApi, [Flow(FlowDirecti thisApi.ClearBufferData(target, internalformat, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] GLEnum format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] GLEnum type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); } - public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void ClearBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.ClearBufferSubData(target, internalformat, offset, size, format, type, in data.GetPinnableReference()); @@ -9192,37 +9192,37 @@ public static unsafe void GetMultisample(this GL thisApi, [Flow(FlowDirection.In thisApi.GetMultisample(pname, index, out val.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); @@ -11304,37 +11304,37 @@ public static unsafe void VertexAttribPointer(this GL thisApi, [Flow(FlowDir thisApi.VertexAttribPointer(index, size, type, normalized, stride, in pointer.GetPinnableReference()); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); @@ -11412,13 +11412,13 @@ public static unsafe void GetBufferParameter(this GL thisApi, [Flow(FlowDirectio thisApi.GetBufferParameter(target, pname, out @params.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); } - public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged + public static unsafe void GetBufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.Out)] Span data) where T0 : unmanaged { // SpanOverloader thisApi.GetBufferSubData(target, offset, size, out data.GetPinnableReference()); diff --git a/src/OpenGL/Silk.NET.OpenGLES/DebugProc.cs b/src/OpenGL/Silk.NET.OpenGLES/DebugProc.cs index 0ff4463225..7c823dc6a1 100644 --- a/src/OpenGL/Silk.NET.OpenGLES/DebugProc.cs +++ b/src/OpenGL/Silk.NET.OpenGLES/DebugProc.cs @@ -7,5 +7,5 @@ namespace Silk.NET.OpenGLES { - public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, IntPtr message, IntPtr userParam); + public delegate void DebugProc(GLEnum source, GLEnum type, int id, GLEnum severity, int length, nint message, nint userParam); } diff --git a/src/OpenGL/Silk.NET.OpenGLES/GL.cs b/src/OpenGL/Silk.NET.OpenGLES/GL.cs index 3971301e26..1dc8a1ae43 100644 --- a/src/OpenGL/Silk.NET.OpenGLES/GL.cs +++ b/src/OpenGL/Silk.NET.OpenGLES/GL.cs @@ -22,7 +22,7 @@ public static GL GetApi(IGLContextSource contextSource) => GetApi ); public static GL GetApi(IGLContext ctx) => GetApi((INativeContext) ctx); - public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); + public static GL GetApi(Func getProcAddress) => GetApi(new LamdaNativeContext(getProcAddress)); public static GL GetApi(INativeContext ctx) => new GL(ctx); diff --git a/src/OpenGL/Silk.NET.OpenGLES/GL.gen.cs b/src/OpenGL/Silk.NET.OpenGLES/GL.gen.cs index 2659f65b3d..1bbe03fe81 100644 --- a/src/OpenGL/Silk.NET.OpenGLES/GL.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGLES/GL.gen.cs @@ -2958,16 +2958,16 @@ public unsafe partial class GL : NativeAPI public partial void TexBuffer([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexBufferRange")] - public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void TexBufferRange([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glTexParameterIiv")] public unsafe partial void TexParameterI([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int* @params); @@ -3048,7 +3048,7 @@ public unsafe partial class GL : NativeAPI public partial void BindProgramPipeline([Flow(FlowDirection.In)] uint pipeline); [NativeApi(EntryPoint = "glBindVertexBuffer")] - public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] uint stride); + public partial void BindVertexBuffer([Flow(FlowDirection.In)] uint bindingindex, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] uint stride); [NativeApi(EntryPoint = "glCreateShaderProgramv")] public unsafe partial uint CreateShaderProgram([Flow(FlowDirection.In)] GLEnum type, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] byte** strings); @@ -3078,7 +3078,7 @@ public unsafe partial class GL : NativeAPI public partial void DispatchCompute([Flow(FlowDirection.In)] uint num_groups_x, [Flow(FlowDirection.In)] uint num_groups_y, [Flow(FlowDirection.In)] uint num_groups_z); [NativeApi(EntryPoint = "glDispatchComputeIndirect")] - public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] IntPtr indirect); + public partial void DispatchComputeIndirect([Flow(FlowDirection.In)] nint indirect); [NativeApi(EntryPoint = "glDrawArraysIndirect")] public unsafe partial void DrawArraysIndirect([Flow(FlowDirection.In)] GLEnum mode, [Flow(FlowDirection.In)] void* indirect); @@ -3699,10 +3699,10 @@ public unsafe partial class GL : NativeAPI public partial void BindBufferBase([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindBufferRange")] - public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void BindBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint buffer, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glBindSampler")] public partial void BindSampler([Flow(FlowDirection.In)] uint unit, [Flow(FlowDirection.In)] uint sampler); @@ -3765,7 +3765,7 @@ public unsafe partial class GL : NativeAPI public partial void ClearBuffer([Flow(FlowDirection.In)] BufferKind buffer, [Flow(FlowDirection.In)] int drawbuffer, [Flow(FlowDirection.In)] float depth, [Flow(FlowDirection.In)] int stencil); [NativeApi(EntryPoint = "glClientWaitSync")] - public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial GLEnum ClientWaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glCompressedTexImage3D")] public unsafe partial void CompressedTexImage3D([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] GLEnum internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] int border, [Flow(FlowDirection.In)] uint imageSize, [Count(Parameter = "imageSize"), Flow(FlowDirection.In)] void* data); @@ -3816,16 +3816,16 @@ public unsafe partial class GL : NativeAPI public partial void CompressedTexSubImage3D([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] uint depth, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] uint imageSize, [Count(Parameter = "imageSize"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] GLEnum readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] GLEnum writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyBufferSubData")] - public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] IntPtr readOffset, [Flow(FlowDirection.In)] IntPtr writeOffset, [Flow(FlowDirection.In)] UIntPtr size); + public partial void CopyBufferSubData([Flow(FlowDirection.In)] CopyBufferSubDataTarget readTarget, [Flow(FlowDirection.In)] CopyBufferSubDataTarget writeTarget, [Flow(FlowDirection.In)] nint readOffset, [Flow(FlowDirection.In)] nint writeOffset, [Flow(FlowDirection.In)] nuint size); [NativeApi(EntryPoint = "glCopyTexSubImage3D")] public partial void CopyTexSubImage3D([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int xoffset, [Flow(FlowDirection.In)] int yoffset, [Flow(FlowDirection.In)] int zoffset, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height); @@ -3858,7 +3858,7 @@ public unsafe partial class GL : NativeAPI public partial void DeleteSamplers([Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] in Sampler samplers); [NativeApi(EntryPoint = "glDeleteSync")] - public partial void DeleteSync([Flow(FlowDirection.In)] IntPtr sync); + public partial void DeleteSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glDeleteTransformFeedbacks")] public unsafe partial void DeleteTransformFeedbacks([Flow(FlowDirection.In)] uint n, [Count(Parameter = "n"), Flow(FlowDirection.In)] uint* ids); @@ -3960,16 +3960,16 @@ public unsafe partial class GL : NativeAPI public partial void EndTransformFeedback(); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] GLEnum condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFenceSync")] - public partial IntPtr FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); + public partial nint FenceSync([Flow(FlowDirection.In)] SyncCondition condition, [Flow(FlowDirection.In)] uint flags); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFlushMappedBufferRange")] - public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length); + public partial void FlushMappedBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length); [NativeApi(EntryPoint = "glFramebufferTextureLayer")] public partial void FramebufferTextureLayer([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] GLEnum attachment, [Flow(FlowDirection.In)] uint texture, [Flow(FlowDirection.In)] int level, [Flow(FlowDirection.In)] int layer); @@ -4323,28 +4323,28 @@ public unsafe partial class GL : NativeAPI public partial string GetStringS([Flow(FlowDirection.In)] StringName name, [Flow(FlowDirection.In)] uint index); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetSynciv")] - public unsafe partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); + public unsafe partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values); [NativeApi(EntryPoint = "glGetSynciv")] - public partial void GetSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); + public partial void GetSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] out uint length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] out int values); [NativeApi(EntryPoint = "glGetTransformFeedbackVarying")] public unsafe partial void GetTransformFeedbackVarying([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] uint bufSize, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Count = 1), Flow(FlowDirection.Out)] uint* size, [Count(Count = 1), Flow(FlowDirection.Out)] GLEnum* type, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] byte* name); @@ -4596,7 +4596,7 @@ public unsafe partial class GL : NativeAPI public partial bool IsSampler([Flow(FlowDirection.In)] uint sampler); [NativeApi(EntryPoint = "glIsSync")] - public partial bool IsSync([Flow(FlowDirection.In)] IntPtr sync); + public partial bool IsSync([Flow(FlowDirection.In)] nint sync); [NativeApi(EntryPoint = "glIsTransformFeedback")] public partial bool IsTransformFeedback([Flow(FlowDirection.In)] uint id); @@ -4605,10 +4605,10 @@ public unsafe partial class GL : NativeAPI public partial bool IsVertexArray([Flow(FlowDirection.In)] uint array); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glMapBufferRange")] - public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr length, [Flow(FlowDirection.In)] uint access); + public unsafe partial void* MapBufferRange([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint length, [Flow(FlowDirection.In)] uint access); [NativeApi(EntryPoint = "glPauseTransformFeedback")] public partial void PauseTransformFeedback(); @@ -4929,7 +4929,7 @@ public unsafe partial class GL : NativeAPI public partial void VertexAttribIPointer([Flow(FlowDirection.In)] uint index, [Flow(FlowDirection.In)] int size, [Flow(FlowDirection.In)] VertexAttribIType type, [Flow(FlowDirection.In)] uint stride, [Count(Computed = "size, type, stride"), Flow(FlowDirection.In)] in T0 pointer) where T0 : unmanaged; [NativeApi(EntryPoint = "glWaitSync")] - public partial void WaitSync([Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); + public partial void WaitSync([Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] uint flags, [Flow(FlowDirection.In)] ulong timeout); [NativeApi(EntryPoint = "glActiveTexture")] public partial void ActiveTexture([Flow(FlowDirection.In)] GLEnum texture); @@ -5055,40 +5055,40 @@ public unsafe partial class GL : NativeAPI public partial void BlendFuncSeparate([Flow(FlowDirection.In)] BlendingFactor sfactorRGB, [Flow(FlowDirection.In)] BlendingFactor dfactorRGB, [Flow(FlowDirection.In)] BlendingFactor sfactorAlpha, [Flow(FlowDirection.In)] BlendingFactor dfactorAlpha); [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] GLEnum usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferData")] - public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); + public unsafe partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data, [Flow(FlowDirection.In)] BufferUsageARB usage); [NativeApi(EntryPoint = "glBufferData")] - public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; + public partial void BufferData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glBufferSubData")] - public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); + public unsafe partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] void* data); [NativeApi(EntryPoint = "glBufferSubData")] - public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; + public partial void BufferSubData([Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] in T0 data) where T0 : unmanaged; [NativeApi(EntryPoint = "glCheckFramebufferStatus")] public partial GLEnum CheckFramebufferStatus([Flow(FlowDirection.In)] GLEnum target); @@ -6721,8 +6721,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] GLEnum type, [Fl // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -6731,8 +6731,8 @@ public unsafe uint CreateShaderProgram([Flow(FlowDirection.In)] ShaderType type, // StringArrayOverloader var strings = (byte**) SilkMarshal.StringArrayToPtr(stringsSa); var ret = CreateShaderProgram(type, count, strings); - SilkMarshal.CopyPtrToStringArray((IntPtr) strings, stringsSa); - SilkMarshal.Free((IntPtr) strings); + SilkMarshal.CopyPtrToStringArray((nint) strings, stringsSa); + SilkMarshal.Free((nint) strings); return ret; } @@ -6824,8 +6824,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint uniformCount, [Count(Computed = "uniformCount"), Flow(FlowDirection.In)] string[] uniformNamesSa, [Count(Computed = "uniformCount"), Flow(FlowDirection.Out)] out uint uniformIndices) @@ -6833,8 +6833,8 @@ public unsafe void GetUniformIndices([Flow(FlowDirection.In)] uint program, [Flo // StringArrayOverloader var uniformNames = (byte**) SilkMarshal.StringArrayToPtr(uniformNamesSa); GetUniformIndices(program, uniformCount, uniformNames, out uniformIndices); - SilkMarshal.CopyPtrToStringArray((IntPtr) uniformNames, uniformNamesSa); - SilkMarshal.Free((IntPtr) uniformNames); + SilkMarshal.CopyPtrToStringArray((nint) uniformNames, uniformNamesSa); + SilkMarshal.Free((nint) uniformNames); } public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] varyingsSa, [Flow(FlowDirection.In)] GLEnum bufferMode) @@ -6842,8 +6842,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint program, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] varyingsSa, [Flow(FlowDirection.In)] TransformFeedbackBufferMode bufferMode) @@ -6851,8 +6851,8 @@ public unsafe void TransformFeedbackVaryings([Flow(FlowDirection.In)] uint progr // StringArrayOverloader var varyings = (byte**) SilkMarshal.StringArrayToPtr(varyingsSa); TransformFeedbackVaryings(program, count, varyings, bufferMode); - SilkMarshal.CopyPtrToStringArray((IntPtr) varyings, varyingsSa); - SilkMarshal.Free((IntPtr) varyings); + SilkMarshal.CopyPtrToStringArray((nint) varyings, varyingsSa); + SilkMarshal.Free((nint) varyings); } public unsafe void DeleteBuffer([Count(Parameter = "n"), Flow(FlowDirection.In)] uint buffers) @@ -6944,8 +6944,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(FlowDirection.In)] uint count, [Count(Parameter = "count"), Flow(FlowDirection.In)] string[] @stringSa, [Count(Parameter = "count"), Flow(FlowDirection.In)] in int length) @@ -6953,8 +6953,8 @@ public unsafe void ShaderSource([Flow(FlowDirection.In)] uint shader, [Flow(Flow // StringArrayOverloader var @string = (byte**) SilkMarshal.StringArrayToPtr(@stringSa); ShaderSource(shader, count, @string, in length); - SilkMarshal.CopyPtrToStringArray((IntPtr) @string, @stringSa); - SilkMarshal.Free((IntPtr) @string); + SilkMarshal.CopyPtrToStringArray((nint) @string, @stringSa); + SilkMarshal.Free((nint) @string); } diff --git a/src/OpenGL/Silk.NET.OpenGLES/GLOverloads.gen.cs b/src/OpenGL/Silk.NET.OpenGLES/GLOverloads.gen.cs index ac25c637a4..616abab7a6 100644 --- a/src/OpenGL/Silk.NET.OpenGLES/GLOverloads.gen.cs +++ b/src/OpenGL/Silk.NET.OpenGLES/GLOverloads.gen.cs @@ -6258,37 +6258,37 @@ public static unsafe void GetSamplerParameter(this GL thisApi, [Flow(FlowDirecti thisApi.GetSamplerParameter(sampler, pname, out @params.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] GLEnum pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] uint* length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, length, out values.GetPinnableReference()); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] int* values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), values); } - public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] IntPtr sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) + public static unsafe void GetSync(this GL thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span values) { // SpanOverloader thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference()); @@ -6882,37 +6882,37 @@ public static unsafe void BindAttribLocation(this GL thisApi, [Flow(FlowDirectio thisApi.BindAttribLocation(program, index, in name.GetPinnableReference()); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] GLEnum usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged + public static unsafe void BufferData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data, [Flow(FlowDirection.In)] BufferUsageARB usage) where T0 : unmanaged { // SpanOverloader thisApi.BufferData(target, size, in data.GetPinnableReference(), usage); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] GLEnum target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); } - public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] IntPtr offset, [Flow(FlowDirection.In)] UIntPtr size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged + public static unsafe void BufferSubData(this GL thisApi, [Flow(FlowDirection.In)] BufferTargetARB target, [Flow(FlowDirection.In)] nint offset, [Flow(FlowDirection.In)] nuint size, [Count(Parameter = "size"), Flow(FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader thisApi.BufferSubData(target, offset, size, in data.GetPinnableReference()); diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchain.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchain.gen.cs index 70d22075d9..977d34a51e 100644 --- a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchain.gen.cs +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchain.gen.cs @@ -24,35 +24,35 @@ public unsafe partial class KhrAndroidSurfaceSwapchain : NativeExtension public const string ExtensionName = "XR_KHR_android_surface_swapchain"; /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] IntPtr* surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] nint* surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] ref IntPtr surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] ref nint surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] IntPtr* surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] nint* surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] ref IntPtr surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] ref nint surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] IntPtr* surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] nint* surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] ref IntPtr surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] ref nint surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] IntPtr* surface); + public unsafe partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] nint* surface); /// To be documented. [NativeApi(EntryPoint = "xrCreateSwapchainAndroidSurfaceKHR")] - public partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] ref IntPtr surface); + public partial Result CreateSwapchainAndroidSurface([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in SwapchainCreateInfo info, [Count(Count = 0)] ref Swapchain swapchain, [Count(Count = 0)] ref nint surface); public KhrAndroidSurfaceSwapchain(INativeContext ctx) : base(ctx) diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchainOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchainOverloads.gen.cs index 80c0303bce..a281f7eb4b 100644 --- a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchainOverloads.gen.cs +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrAndroidSurfaceSwapchainOverloads.gen.cs @@ -19,49 +19,49 @@ namespace Silk.NET.OpenXR.Extensions.KHR public static class KhrAndroidSurfaceSwapchainOverloads { /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] Span surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] Span surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, info, swapchain, ref surface.GetPinnableReference()); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] IntPtr* surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] nint* surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, info, ref swapchain.GetPinnableReference(), surface); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] Span surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] SwapchainCreateInfo* info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] Span surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, info, ref swapchain.GetPinnableReference(), ref surface.GetPinnableReference()); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] IntPtr* surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] nint* surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, in info.GetPinnableReference(), swapchain, surface); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] Span surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Swapchain* swapchain, [Count(Count = 0)] Span surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, in info.GetPinnableReference(), swapchain, ref surface.GetPinnableReference()); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] IntPtr* surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] nint* surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, in info.GetPinnableReference(), ref swapchain.GetPinnableReference(), surface); } /// To be documented. - public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] Span surface) + public static unsafe Result CreateSwapchainAndroidSurface(this KhrAndroidSurfaceSwapchain thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan info, [Count(Count = 0)] Span swapchain, [Count(Count = 0)] Span surface) { // SpanOverloader return thisApi.CreateSwapchainAndroidSurface(session, in info.GetPinnableReference(), ref swapchain.GetPinnableReference(), ref surface.GetPinnableReference()); diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTime.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTime.gen.cs index c451443324..b6f2b92163 100644 --- a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTime.gen.cs +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTime.gen.cs @@ -24,27 +24,27 @@ public unsafe partial class KhrConvertTimespecTime : NativeExtension public const string ExtensionName = "XR_KHR_convert_timespec_time"; /// To be documented. [NativeApi(EntryPoint = "xrConvertTimespecTimeToTimeKHR")] - public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] long* time); + public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] long* time); /// To be documented. [NativeApi(EntryPoint = "xrConvertTimespecTimeToTimeKHR")] - public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] ref long time); + public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] ref long time); /// To be documented. [NativeApi(EntryPoint = "xrConvertTimespecTimeToTimeKHR")] - public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] in ValueTuple timespecTime, [Count(Count = 0)] long* time); + public unsafe partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] in ValueTuple timespecTime, [Count(Count = 0)] long* time); /// To be documented. [NativeApi(EntryPoint = "xrConvertTimespecTimeToTimeKHR")] - public partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] in ValueTuple timespecTime, [Count(Count = 0)] ref long time); + public partial Result ConvertTimespecTimeToTime([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] in ValueTuple timespecTime, [Count(Count = 0)] ref long time); /// To be documented. [NativeApi(EntryPoint = "xrConvertTimeToTimespecTimeKHR")] - public unsafe partial Result ConvertTimeToTimespecTime([Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] ValueTuple* timespecTime); + public unsafe partial Result ConvertTimeToTimespecTime([Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] ValueTuple* timespecTime); /// To be documented. [NativeApi(EntryPoint = "xrConvertTimeToTimespecTimeKHR")] - public partial Result ConvertTimeToTimespecTime([Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] ref ValueTuple timespecTime); + public partial Result ConvertTimeToTimespecTime([Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] ref ValueTuple timespecTime); public KhrConvertTimespecTime(INativeContext ctx) : base(ctx) diff --git a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTimeOverloads.gen.cs b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTimeOverloads.gen.cs index 023d9ca6da..f21e350ff5 100644 --- a/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTimeOverloads.gen.cs +++ b/src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.KHR/KhrConvertTimespecTimeOverloads.gen.cs @@ -19,28 +19,28 @@ namespace Silk.NET.OpenXR.Extensions.KHR public static class KhrConvertTimespecTimeOverloads { /// To be documented. - public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] Span time) + public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ValueTuple* timespecTime, [Count(Count = 0)] Span time) { // SpanOverloader return thisApi.ConvertTimespecTimeToTime(instance, timespecTime, ref time.GetPinnableReference()); } /// To be documented. - public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan> timespecTime, [Count(Count = 0)] long* time) + public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan> timespecTime, [Count(Count = 0)] long* time) { // SpanOverloader return thisApi.ConvertTimespecTimeToTime(instance, in timespecTime.GetPinnableReference(), time); } /// To be documented. - public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan> timespecTime, [Count(Count = 0)] Span time) + public static unsafe Result ConvertTimespecTimeToTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan> timespecTime, [Count(Count = 0)] Span time) { // SpanOverloader return thisApi.ConvertTimespecTimeToTime(instance, in timespecTime.GetPinnableReference(), ref time.GetPinnableReference()); } /// To be documented. - public static unsafe Result ConvertTimeToTimespecTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] Span> timespecTime) + public static unsafe Result ConvertTimeToTimespecTime(this KhrConvertTimespecTime thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] long time, [Count(Count = 0)] Span> timespecTime) { // SpanOverloader return thisApi.ConvertTimeToTimespecTime(instance, time, ref timespecTime.GetPinnableReference()); diff --git a/src/OpenXR/Silk.NET.OpenXR/PfnDebugUtilsMessengerCallbackEXT.cs b/src/OpenXR/Silk.NET.OpenXR/PfnDebugUtilsMessengerCallbackEXT.cs index 932832d974..e6e521ddbb 100644 --- a/src/OpenXR/Silk.NET.OpenXR/PfnDebugUtilsMessengerCallbackEXT.cs +++ b/src/OpenXR/Silk.NET.OpenXR/PfnDebugUtilsMessengerCallbackEXT.cs @@ -19,7 +19,7 @@ public PfnDebugUtilsMessengerCallbackEXT DebugUtilsMessengerCallbackDataEXT*, void*, Bool32> ptr ) => _handle = ptr; - public static implicit operator IntPtr(PfnDebugUtilsMessengerCallbackEXT pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnDebugUtilsMessengerCallbackEXT pfn) => (nint) pfn.Handle; public PfnDebugUtilsMessengerCallbackEXT(DebugUtilsMessengerCallbackFunctionEXT func) => _handle = (delegate* unmanaged[Cdecl] SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingEGLMNDX.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingEGLMNDX.gen.cs index 91d0404349..c1c83411c8 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingEGLMNDX.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingEGLMNDX.gen.cs @@ -26,9 +26,9 @@ public GraphicsBindingEGLMNDX StructureType? type = StructureType.TypeGraphicsBindingEglMndx, void* next = null, PfnVoidFunction? getProcAddress = null, - IntPtr? display = null, - IntPtr? config = null, - IntPtr? context = null + nint? display = null, + nint? config = null, + nint? context = null ) : this() { if (type is not null) @@ -81,16 +81,16 @@ public GraphicsBindingEGLMNDX [NativeName("Type", "EGLDisplay")] [NativeName("Type.Name", "EGLDisplay")] [NativeName("Name", "display")] - public IntPtr Display; + public nint Display; /// [NativeName("Type", "EGLConfig")] [NativeName("Type.Name", "EGLConfig")] [NativeName("Name", "config")] - public IntPtr Config; + public nint Config; /// [NativeName("Type", "EGLContext")] [NativeName("Type.Name", "EGLContext")] [NativeName("Name", "context")] - public IntPtr Context; + public nint Context; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLESAndroidKHR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLESAndroidKHR.gen.cs index 4e973b7d48..820688609c 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLESAndroidKHR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLESAndroidKHR.gen.cs @@ -25,9 +25,9 @@ public GraphicsBindingOpenGLESAndroidKHR ( StructureType? type = StructureType.TypeGraphicsBindingOpenglESAndroidKhr, void* next = null, - IntPtr? display = null, - IntPtr? config = null, - IntPtr? context = null + nint? display = null, + nint? config = null, + nint? context = null ) : this() { if (type is not null) @@ -70,16 +70,16 @@ public GraphicsBindingOpenGLESAndroidKHR [NativeName("Type", "EGLDisplay")] [NativeName("Type.Name", "EGLDisplay")] [NativeName("Name", "display")] - public IntPtr Display; + public nint Display; /// [NativeName("Type", "EGLConfig")] [NativeName("Type.Name", "EGLConfig")] [NativeName("Name", "config")] - public IntPtr Config; + public nint Config; /// [NativeName("Type", "EGLContext")] [NativeName("Type.Name", "EGLContext")] [NativeName("Name", "context")] - public IntPtr Context; + public nint Context; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWaylandKHR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWaylandKHR.gen.cs index f27de7302d..df963ee434 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWaylandKHR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWaylandKHR.gen.cs @@ -25,7 +25,7 @@ public GraphicsBindingOpenGLWaylandKHR ( StructureType? type = StructureType.TypeGraphicsBindingOpenglWaylandKhr, void* next = null, - IntPtr* display = null + nint* display = null ) : this() { if (type is not null) @@ -58,6 +58,6 @@ public GraphicsBindingOpenGLWaylandKHR [NativeName("Type", "wl_display*")] [NativeName("Type.Name", "wl_display")] [NativeName("Name", "display")] - public IntPtr* Display; + public nint* Display; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWin32KHR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWin32KHR.gen.cs index 7cf8026f0b..1071875ff5 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWin32KHR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLWin32KHR.gen.cs @@ -25,8 +25,8 @@ public GraphicsBindingOpenGLWin32KHR ( StructureType? type = StructureType.TypeGraphicsBindingOpenglWin32Khr, void* next = null, - IntPtr? hDC = null, - IntPtr? hGlrc = null + nint? hDC = null, + nint? hGlrc = null ) : this() { if (type is not null) @@ -64,11 +64,11 @@ public GraphicsBindingOpenGLWin32KHR [NativeName("Type", "HDC")] [NativeName("Type.Name", "HDC")] [NativeName("Name", "hDC")] - public IntPtr HDC; + public nint HDC; /// [NativeName("Type", "HGLRC")] [NativeName("Type.Name", "HGLRC")] [NativeName("Name", "hGLRC")] - public IntPtr HGlrc; + public nint HGlrc; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXcbKHR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXcbKHR.gen.cs index 05fb659094..2518252e59 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXcbKHR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXcbKHR.gen.cs @@ -25,12 +25,12 @@ public GraphicsBindingOpenGLXcbKHR ( StructureType? type = StructureType.TypeGraphicsBindingOpenglXcbKhr, void* next = null, - IntPtr* connection = null, + nint* connection = null, uint? screenNumber = null, - IntPtr? fbconfigid = null, - IntPtr? visualid = null, - IntPtr? glxDrawable = null, - IntPtr? glxContext = null + nint? fbconfigid = null, + nint? visualid = null, + nint? glxDrawable = null, + nint? glxContext = null ) : this() { if (type is not null) @@ -88,7 +88,7 @@ public GraphicsBindingOpenGLXcbKHR [NativeName("Type", "xcb_connection_t*")] [NativeName("Type.Name", "xcb_connection_t")] [NativeName("Name", "connection")] - public IntPtr* Connection; + public nint* Connection; /// [NativeName("Type", "uint32_t")] [NativeName("Type.Name", "uint32_t")] @@ -98,21 +98,21 @@ public GraphicsBindingOpenGLXcbKHR [NativeName("Type", "xcb_glx_fbconfig_t")] [NativeName("Type.Name", "xcb_glx_fbconfig_t")] [NativeName("Name", "fbconfigid")] - public IntPtr Fbconfigid; + public nint Fbconfigid; /// [NativeName("Type", "xcb_visualid_t")] [NativeName("Type.Name", "xcb_visualid_t")] [NativeName("Name", "visualid")] - public IntPtr Visualid; + public nint Visualid; /// [NativeName("Type", "xcb_glx_drawable_t")] [NativeName("Type.Name", "xcb_glx_drawable_t")] [NativeName("Name", "glxDrawable")] - public IntPtr GlxDrawable; + public nint GlxDrawable; /// [NativeName("Type", "xcb_glx_context_t")] [NativeName("Type.Name", "xcb_glx_context_t")] [NativeName("Name", "glxContext")] - public IntPtr GlxContext; + public nint GlxContext; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXlibKHR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXlibKHR.gen.cs index fe6dd5d1b4..71a0345ab9 100644 --- a/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXlibKHR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/Structs/GraphicsBindingOpenGLXlibKHR.gen.cs @@ -25,11 +25,11 @@ public GraphicsBindingOpenGLXlibKHR ( StructureType? type = StructureType.TypeGraphicsBindingOpenglXlibKhr, void* next = null, - IntPtr* xDisplay = null, + nint* xDisplay = null, uint? visualid = null, - IntPtr? glxFbconfig = null, - IntPtr? glxDrawable = null, - IntPtr? glxContext = null + nint? glxFbconfig = null, + nint? glxDrawable = null, + nint? glxContext = null ) : this() { if (type is not null) @@ -82,7 +82,7 @@ public GraphicsBindingOpenGLXlibKHR [NativeName("Type", "Display*")] [NativeName("Type.Name", "Display")] [NativeName("Name", "xDisplay")] - public IntPtr* XDisplay; + public nint* XDisplay; /// [NativeName("Type", "uint32_t")] [NativeName("Type.Name", "uint32_t")] @@ -92,16 +92,16 @@ public GraphicsBindingOpenGLXlibKHR [NativeName("Type", "GLXFBConfig")] [NativeName("Type.Name", "GLXFBConfig")] [NativeName("Name", "glxFBConfig")] - public IntPtr GlxFbconfig; + public nint GlxFbconfig; /// [NativeName("Type", "GLXDrawable")] [NativeName("Type.Name", "GLXDrawable")] [NativeName("Name", "glxDrawable")] - public IntPtr GlxDrawable; + public nint GlxDrawable; /// [NativeName("Type", "GLXContext")] [NativeName("Type.Name", "GLXContext")] [NativeName("Name", "glxContext")] - public IntPtr GlxContext; + public nint GlxContext; } } diff --git a/src/OpenXR/Silk.NET.OpenXR/XR.cs b/src/OpenXR/Silk.NET.OpenXR/XR.cs index 6018135d23..f176c0a70a 100644 --- a/src/OpenXR/Silk.NET.OpenXR/XR.cs +++ b/src/OpenXR/Silk.NET.OpenXR/XR.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -14,7 +15,13 @@ namespace Silk.NET.OpenXR { public partial class XR { - public Instance? CurrentInstance { get; set; } + private Instance? _currentInstance; + private ConcurrentDictionary _vTables = new(); + public Instance? CurrentInstance + { + get => _currentInstance; + set => SwapVTable(_vTables.GetOrAdd(_currentInstance = value, _ => XrCreateVTable())); + } public static XR GetApi() { return new XR(CreateDefaultContext(new OpenXRLibraryNameContainer().GetLibraryName())); @@ -64,8 +71,8 @@ public unsafe bool IsInstanceExtensionPresent(string layer, string extension) { // For a detailed explanation of the logic see Silk.Net.Vulkan.Vk.IsDeviceExtensionPresent layer ??= string.Empty; - var layer_sep = layer + '\0'; - var fullKey = layer_sep + extension; + var layerSep = layer + '\0'; + var fullKey = layerSep + extension; var result = false; _cachedInstanceExtensionsLock.EnterUpgradeableReadLock(); @@ -88,7 +95,6 @@ public unsafe bool IsInstanceExtensionPresent(string layer, string extension) mem = GlobalMemory.Allocate((int) extensionCount * sizeof(ExtensionProperties)); var exts = (ExtensionProperties*) Unsafe.AsPointer(ref mem.GetPinnableReference()); - // TODO Is this necessary? for (int i = 0; i < extensionCount; i++) { exts[i] = new ExtensionProperties(StructureType.TypeExtensionProperties); @@ -97,7 +103,7 @@ public unsafe bool IsInstanceExtensionPresent(string layer, string extension) EnumerateInstanceExtensionProperties((byte*) layerName, extensionCount, &extensionCount, exts); for (var i = 0; i < extensionCount; i++) { - var newKey = layer_sep + Marshal.PtrToStringAnsi((IntPtr) exts[i].ExtensionName); + var newKey = layerSep + Marshal.PtrToStringAnsi((nint) exts[i].ExtensionName); _cachedInstanceExtensions.Add(newKey); if (!result && string.Equals(newKey, fullKey)) { @@ -116,6 +122,15 @@ public unsafe bool IsInstanceExtensionPresent(string layer, string extension) _cachedInstanceExtensionsLock.ExitUpgradeableReadLock(); return result; } + + private IVTable XrCreateVTable() + { + var ret = CreateVTable(); + ret.Initialize(Context, CoreGetSlotCount()); + return ret; + } + + protected override void PostInit() => _vTables.TryAdd(null, CurrentVTable); } } diff --git a/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs b/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs index aee48626f9..1ff2f25d0c 100644 --- a/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/XR.gen.cs @@ -178,18 +178,22 @@ public unsafe partial class XR : NativeAPI public partial Result CreateActionSpace([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in ActionSpaceCreateInfo createInfo, [Count(Count = 0)] ref Space space); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(instance)$%; }")] [NativeApi(EntryPoint = "xrCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* createInfo, [Count(Count = 0)] Instance* instance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(instance)$%; }")] [NativeApi(EntryPoint = "xrCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* createInfo, [Count(Count = 0)] ref Instance instance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(instance)$%; }")] [NativeApi(EntryPoint = "xrCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo createInfo, [Count(Count = 0)] Instance* instance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(instance)$%; }")] [NativeApi(EntryPoint = "xrCreateInstance")] public partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo createInfo, [Count(Count = 0)] ref Instance instance); diff --git a/src/OpenXR/Silk.NET.OpenXR/XROverloads.gen.cs b/src/OpenXR/Silk.NET.OpenXR/XROverloads.gen.cs index 88115fbf81..5b6e49dc69 100644 --- a/src/OpenXR/Silk.NET.OpenXR/XROverloads.gen.cs +++ b/src/OpenXR/Silk.NET.OpenXR/XROverloads.gen.cs @@ -145,6 +145,7 @@ public static unsafe Result CreateActionSpace(this XR thisApi, [Count(Count = 0) } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this XR thisApi, [Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* createInfo, [Count(Count = 0)] Span instance) { // SpanOverloader @@ -152,6 +153,7 @@ public static unsafe Result CreateInstance(this XR thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this XR thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Instance* instance) { // SpanOverloader @@ -159,6 +161,7 @@ public static unsafe Result CreateInstance(this XR thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this XR thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan createInfo, [Count(Count = 0)] Span instance) { // SpanOverloader diff --git a/src/OpenXR/Silk.NET.OpenXR/XrLoader.cs b/src/OpenXR/Silk.NET.OpenXR/XrLoader.cs index c536c5d8b6..a475146854 100644 --- a/src/OpenXR/Silk.NET.OpenXR/XrLoader.cs +++ b/src/OpenXR/Silk.NET.OpenXR/XrLoader.cs @@ -37,19 +37,19 @@ public XrLoader(LibraryLoader defaultLoader) } /// - protected override IntPtr CoreLoadNativeLibrary(string name) => BaseLoader.LoadNativeLibrary(name); + protected override nint CoreLoadNativeLibrary(string name) => BaseLoader.LoadNativeLibrary(name); /// - protected override void CoreFreeNativeLibrary(IntPtr handle) => BaseLoader.FreeNativeLibrary(handle); + protected override void CoreFreeNativeLibrary(nint handle) => BaseLoader.FreeNativeLibrary(handle); /// - protected override IntPtr CoreLoadFunctionPointer(IntPtr library, string symbolName) + protected override nint CoreLoadFunctionPointer(nint library, string symbolName) { - IntPtr sym = default; + nint sym = default; try { sym = BaseLoader.LoadFunctionPointer(library, symbolName); - if (sym != IntPtr.Zero) + if (sym != 0) { return sym; } @@ -59,7 +59,7 @@ protected override IntPtr CoreLoadFunctionPointer(IntPtr library, string symbolN // do nothing, just move on. } - OpenXR.GetInstanceProcAddr(default, symbolName, ref Unsafe.As(ref sym)); + OpenXR.GetInstanceProcAddr(default, symbolName, ref Unsafe.As(ref sym)); if (sym != default) { return sym; @@ -68,7 +68,7 @@ protected override IntPtr CoreLoadFunctionPointer(IntPtr library, string symbolN if (OpenXR.CurrentInstance.HasValue) { OpenXR.GetInstanceProcAddr - (OpenXR.CurrentInstance.Value, symbolName, ref Unsafe.As(ref sym)); + (OpenXR.CurrentInstance.Value, symbolName, ref Unsafe.As(ref sym)); if (sym != default) { return sym; diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfo.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfo.gen.cs index 09c250c765..3260216642 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfo.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfo.gen.cs @@ -24,19 +24,19 @@ public unsafe partial class AmdShaderInfo : NativeExtension public const string ExtensionName = "VK_AMD_shader_info"; /// To be documented. [NativeApi(EntryPoint = "vkGetShaderInfoAMD")] - public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] UIntPtr* pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo); + public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] nuint* pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo); /// To be documented. [NativeApi(EntryPoint = "vkGetShaderInfoAMD")] - public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] UIntPtr* pInfoSize, [Count(Computed = "pInfoSize")] ref T0 pInfo) where T0 : unmanaged; + public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] nuint* pInfoSize, [Count(Computed = "pInfoSize")] ref T0 pInfo) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetShaderInfoAMD")] - public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] ref UIntPtr pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo); + public unsafe partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] ref nuint pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo); /// To be documented. [NativeApi(EntryPoint = "vkGetShaderInfoAMD")] - public partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] ref UIntPtr pInfoSize, [Count(Computed = "pInfoSize")] ref T0 pInfo) where T0 : unmanaged; + public partial Result GetShaderInfo([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] ref nuint pInfoSize, [Count(Computed = "pInfoSize")] ref T0 pInfo) where T0 : unmanaged; public AmdShaderInfo(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfoOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfoOverloads.gen.cs index b56847e5ae..71df0a658d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfoOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.AMD/AmdShaderInfoOverloads.gen.cs @@ -19,21 +19,21 @@ namespace Silk.NET.Vulkan.Extensions.AMD public static class AmdShaderInfoOverloads { /// To be documented. - public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] UIntPtr* pInfoSize, [Count(Computed = "pInfoSize")] Span pInfo) where T0 : unmanaged + public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] nuint* pInfoSize, [Count(Computed = "pInfoSize")] Span pInfo) where T0 : unmanaged { // SpanOverloader return thisApi.GetShaderInfo(device, pipeline, shaderStage, infoType, pInfoSize, ref pInfo.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] Span pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo) + public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] Span pInfoSize, [Count(Computed = "pInfoSize")] void* pInfo) { // SpanOverloader return thisApi.GetShaderInfo(device, pipeline, shaderStage, infoType, ref pInfoSize.GetPinnableReference(), pInfo); } /// To be documented. - public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] Span pInfoSize, [Count(Computed = "pInfoSize")] Span pInfo) where T0 : unmanaged + public static unsafe Result GetShaderInfo(this AmdShaderInfo thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] ShaderStageFlags shaderStage, [Count(Count = 0)] ShaderInfoTypeAMD infoType, [Count(Count = 0)] Span pInfoSize, [Count(Computed = "pInfoSize")] Span pInfo) where T0 : unmanaged { // SpanOverloader return thisApi.GetShaderInfo(device, pipeline, shaderStage, infoType, ref pInfoSize.GetPinnableReference(), ref pInfo.GetPinnableReference()); 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 256569fc05..f0fcbec418 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 @@ -24,35 +24,35 @@ public unsafe partial class AndroidExternalMemoryAndroidHardwareBuffer : NativeE public const string ExtensionName = "VK_ANDROID_external_memory_android_hardware_buffer"; /// To be documented. [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] - public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] IntPtr* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] AndroidHardwareBufferPropertiesANDROID* pProperties); + 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. [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] - public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] IntPtr* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] out AndroidHardwareBufferPropertiesANDROID pProperties); + 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); /// To be documented. [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] - public unsafe partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in IntPtr buffer, [Count(Count = 0), Flow(FlowDirection.Out)] AndroidHardwareBufferPropertiesANDROID* pProperties); + 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. [NativeApi(EntryPoint = "vkGetAndroidHardwareBufferPropertiesANDROID")] - public partial Result GetAndroidHardwareBufferProperties([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in IntPtr buffer, [Count(Count = 0), Flow(FlowDirection.Out)] out AndroidHardwareBufferPropertiesANDROID pProperties); + 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); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryAndroidHardwareBufferANDROID")] - public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr** pBuffer); + public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint** pBuffer); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryAndroidHardwareBufferANDROID")] - public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr* pBuffer); + public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint* pBuffer); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryAndroidHardwareBufferANDROID")] - public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetAndroidHardwareBufferInfoANDROID pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr** pBuffer); + public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetAndroidHardwareBufferInfoANDROID pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint** pBuffer); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryAndroidHardwareBufferANDROID")] - public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetAndroidHardwareBufferInfoANDROID pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr* pBuffer); + public unsafe partial Result GetMemoryAndroidHardwareBuffer([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetAndroidHardwareBufferInfoANDROID pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint* pBuffer); public AndroidExternalMemoryAndroidHardwareBuffer(INativeContext ctx) : base(ctx) 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 4759c8ccd9..506347142d 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 @@ -19,35 +19,35 @@ namespace Silk.NET.Vulkan.Extensions.ANDROID public static class AndroidExternalMemoryAndroidHardwareBufferOverloads { /// To be documented. - public static unsafe Result GetAndroidHardwareBufferProperties(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] IntPtr* buffer, [Count(Count = 0), Flow(FlowDirection.Out)] Span pProperties) + 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 return thisApi.GetAndroidHardwareBufferProperties(device, buffer, out pProperties.GetPinnableReference()); } /// To be documented. - 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)] AndroidHardwareBufferPropertiesANDROID* pProperties) + 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)] AndroidHardwareBufferPropertiesANDROID* pProperties) { // SpanOverloader return thisApi.GetAndroidHardwareBufferProperties(device, in buffer.GetPinnableReference(), pProperties); } /// To be documented. - 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) + 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 return thisApi.GetAndroidHardwareBufferProperties(device, in buffer.GetPinnableReference(), out pProperties.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetMemoryAndroidHardwareBuffer(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr** pBuffer) + public static unsafe Result GetMemoryAndroidHardwareBuffer(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint** pBuffer) { // SpanOverloader return thisApi.GetMemoryAndroidHardwareBuffer(device, in pInfo.GetPinnableReference(), pBuffer); } /// To be documented. - public static unsafe Result GetMemoryAndroidHardwareBuffer(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr* pBuffer) + public static unsafe Result GetMemoryAndroidHardwareBuffer(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint* pBuffer) { // SpanOverloader return thisApi.GetMemoryAndroidHardwareBuffer(device, in pInfo.GetPinnableReference(), out pBuffer); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplay.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplay.gen.cs index 7e8cf50cf2..30e5581bc9 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplay.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplay.gen.cs @@ -24,27 +24,27 @@ public unsafe partial class ExtAcquireXlibDisplay : NativeExtension public const string ExtensionName = "VK_EXT_acquire_xlib_display"; /// To be documented. [NativeApi(EntryPoint = "vkAcquireXlibDisplayEXT")] - public unsafe partial Result AcquireXlibDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] IntPtr* dpy, [Count(Count = 0)] DisplayKHR display); + public unsafe partial Result AcquireXlibDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] nint* dpy, [Count(Count = 0)] DisplayKHR display); /// To be documented. [NativeApi(EntryPoint = "vkAcquireXlibDisplayEXT")] - public partial Result AcquireXlibDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref IntPtr dpy, [Count(Count = 0)] DisplayKHR display); + public partial Result AcquireXlibDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref nint dpy, [Count(Count = 0)] DisplayKHR display); /// To be documented. [NativeApi(EntryPoint = "vkGetRandROutputDisplayEXT")] - public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] IntPtr* dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay); + public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] nint* dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay); /// To be documented. [NativeApi(EntryPoint = "vkGetRandROutputDisplayEXT")] - public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] IntPtr* dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayKHR pDisplay); + public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] nint* dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayKHR pDisplay); /// To be documented. [NativeApi(EntryPoint = "vkGetRandROutputDisplayEXT")] - public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref IntPtr dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay); + public unsafe partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref nint dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay); /// To be documented. [NativeApi(EntryPoint = "vkGetRandROutputDisplayEXT")] - public partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref IntPtr dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayKHR pDisplay); + public partial Result GetRandROutputDisplay([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] ref nint dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] out DisplayKHR pDisplay); public ExtAcquireXlibDisplay(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplayOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplayOverloads.gen.cs index 296db404f6..c5914cf7ca 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplayOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtAcquireXlibDisplayOverloads.gen.cs @@ -19,28 +19,28 @@ namespace Silk.NET.Vulkan.Extensions.EXT public static class ExtAcquireXlibDisplayOverloads { /// To be documented. - public static unsafe Result AcquireXlibDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] DisplayKHR display) + public static unsafe Result AcquireXlibDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] DisplayKHR display) { // SpanOverloader return thisApi.AcquireXlibDisplay(physicalDevice, ref dpy.GetPinnableReference(), display); } /// To be documented. - public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] IntPtr* dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDisplay) + public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] nint* dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDisplay) { // SpanOverloader return thisApi.GetRandROutputDisplay(physicalDevice, dpy, rrOutput, out pDisplay.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay) + public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] DisplayKHR* pDisplay) { // SpanOverloader return thisApi.GetRandROutputDisplay(physicalDevice, ref dpy.GetPinnableReference(), rrOutput, pDisplay); } /// To be documented. - public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] IntPtr rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDisplay) + public static unsafe Result GetRandROutputDisplay(this ExtAcquireXlibDisplay thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] Span dpy, [Count(Count = 0)] nint rrOutput, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDisplay) { // SpanOverloader return thisApi.GetRandROutputDisplay(physicalDevice, ref dpy.GetPinnableReference(), rrOutput, out pDisplay.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReport.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReport.gen.cs index 35232f98ac..b486c8c726 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReport.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReport.gen.cs @@ -56,39 +56,39 @@ public unsafe partial class ExtDebugReport : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); + public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); + public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); + public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); + public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); + public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); + public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] in byte pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); + public unsafe partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); + public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] in byte pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDebugReportMessageEXT")] - public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); + public partial void DebugReportMessage([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Flow(FlowDirection.In)] string pMessage); /// To be documented. [NativeApi(EntryPoint = "vkDestroyDebugReportCallbackEXT")] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReportOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReportOverloads.gen.cs index e93f2ef163..04ae73934d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReportOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDebugReportOverloads.gen.cs @@ -68,35 +68,35 @@ public static unsafe Result CreateDebugReportCallback(this ExtDebugReport thisAp } /// To be documented. - public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) + public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] byte* pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) { // SpanOverloader thisApi.DebugReportMessage(instance, flags, objectType, @object, location, messageCode, pLayerPrefix, in pMessage.GetPinnableReference()); } /// To be documented. - public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage) + public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] byte* pMessage) { // SpanOverloader thisApi.DebugReportMessage(instance, flags, objectType, @object, location, messageCode, in pLayerPrefix.GetPinnableReference(), pMessage); } /// To be documented. - public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) + public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) { // SpanOverloader thisApi.DebugReportMessage(instance, flags, objectType, @object, location, messageCode, in pLayerPrefix.GetPinnableReference(), in pMessage.GetPinnableReference()); } /// To be documented. - public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Flow(FlowDirection.In)] string pMessage) + public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pLayerPrefix, [Flow(FlowDirection.In)] string pMessage) { // SpanOverloader thisApi.DebugReportMessage(instance, flags, objectType, @object, location, messageCode, in pLayerPrefix.GetPinnableReference(), pMessage); } /// To be documented. - public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] UIntPtr location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) + public static unsafe void DebugReportMessage(this ExtDebugReport thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportFlagsEXT flags, [Count(Count = 0)] DebugReportObjectTypeEXT objectType, [Count(Count = 0)] ulong @object, [Count(Count = 0)] nuint location, [Count(Count = 0)] int messageCode, [Flow(FlowDirection.In)] string pLayerPrefix, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pMessage) { // SpanOverloader thisApi.DebugReportMessage(instance, flags, objectType, @object, location, messageCode, pLayerPrefix, in pMessage.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDirectfbSurface.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDirectfbSurface.gen.cs index 8a17aadc83..44b518a45f 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDirectfbSurface.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtDirectfbSurface.gen.cs @@ -56,7 +56,7 @@ public unsafe partial class ExtDirectfbSurface : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceDirectFBPresentationSupportEXT")] - public partial Bool32 GetPhysicalDeviceDirectFbpresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr dfb); + public partial Bool32 GetPhysicalDeviceDirectFbpresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] nint dfb); public ExtDirectfbSurface(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCache.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCache.gen.cs index 94714afa7e..87ac3b674d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCache.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCache.gen.cs @@ -64,19 +64,19 @@ public unsafe partial class ExtValidationCache : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetValidationCacheDataEXT")] - public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] void* pData); + public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetValidationCacheDataEXT")] - public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; + public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetValidationCacheDataEXT")] - public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] ref UIntPtr pDataSize, [Count(Computed = "pDataSize")] void* pData); + public unsafe partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] ref nuint pDataSize, [Count(Computed = "pDataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetValidationCacheDataEXT")] - public partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] ref UIntPtr pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetValidationCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] ref nuint pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkMergeValidationCachesEXT")] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCacheOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCacheOverloads.gen.cs index 198a057cbc..28a543fa4b 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCacheOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.EXT/ExtValidationCacheOverloads.gen.cs @@ -75,21 +75,21 @@ public static unsafe void DestroyValidationCache(this ExtValidationCache thisApi } /// To be documented. - public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetValidationCacheData(device, validationCache, pDataSize, ref pData.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] void* pData) + public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] void* pData) { // SpanOverloader return thisApi.GetValidationCacheData(device, validationCache, ref pDataSize.GetPinnableReference(), pData); } /// To be documented. - public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetValidationCacheData(this ExtValidationCache thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetValidationCacheData(device, validationCache, ref pDataSize.GetPinnableReference(), ref pData.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32.gen.cs index e2ea0d5d63..e4cc8733ad 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32.gen.cs @@ -24,19 +24,19 @@ public unsafe partial class KhrExternalFenceWin32 : NativeExtension public const string ExtensionName = "VK_KHR_external_fence_win32"; /// To be documented. [NativeApi(EntryPoint = "vkGetFenceWin32HandleKHR")] - public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetFenceWin32HandleKHR")] - public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetFenceWin32HandleKHR")] - public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in FenceGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in FenceGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetFenceWin32HandleKHR")] - public partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in FenceGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public partial Result GetFenceWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in FenceGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkImportFenceWin32HandleKHR")] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs index 3f7b162d72..346fd4fdc1 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs @@ -19,21 +19,21 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalFenceWin32Overloads { /// To be documented. - public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetFenceWin32Handle(device, pGetWin32HandleInfo, out pHandle.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle) + public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle) { // SpanOverloader return thisApi.GetFenceWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), pHandle); } /// To be documented. - public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetFenceWin32Handle(this KhrExternalFenceWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetFenceWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), out pHandle.GetPinnableReference()); 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 1a43f60433..bae7d99d0d 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 @@ -24,27 +24,27 @@ public unsafe partial class KhrExternalMemoryWin32 : NativeExtension public const string ExtensionName = "VK_KHR_external_memory_win32"; /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleKHR")] - public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleKHR")] - public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleKHR")] - public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleKHR")] - public partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in MemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandlePropertiesKHR")] - public unsafe partial Result GetMemoryWin32HandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] IntPtr handle, [Count(Count = 0), Flow(FlowDirection.Out)] MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties); + 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. [NativeApi(EntryPoint = "vkGetMemoryWin32HandlePropertiesKHR")] - public partial Result GetMemoryWin32HandleProperties([Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] IntPtr handle, [Count(Count = 0), Flow(FlowDirection.Out)] out MemoryWin32HandlePropertiesKHR pMemoryWin32HandleProperties); + 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); public KhrExternalMemoryWin32(INativeContext ctx) : base(ctx) 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 30e07d072d..b6c0f45e8b 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 @@ -19,28 +19,28 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalMemoryWin32Overloads { /// To be documented. - public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetMemoryWin32Handle(device, pGetWin32HandleInfo, out pHandle.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle) + public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle) { // SpanOverloader return thisApi.GetMemoryWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), pHandle); } /// To be documented. - public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetMemoryWin32Handle(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetMemoryWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), out pHandle.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetMemoryWin32HandleProperties(this KhrExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] ExternalMemoryHandleTypeFlags handleType, [Count(Count = 0)] IntPtr handle, [Count(Count = 0), Flow(FlowDirection.Out)] Span pMemoryWin32HandleProperties) + 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 return thisApi.GetMemoryWin32HandleProperties(device, handleType, handle, out pMemoryWin32HandleProperties.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32.gen.cs index 433621693d..5eea10f39e 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32.gen.cs @@ -24,19 +24,19 @@ public unsafe partial class KhrExternalSemaphoreWin32 : NativeExtension public const string ExtensionName = "VK_KHR_external_semaphore_win32"; /// To be documented. [NativeApi(EntryPoint = "vkGetSemaphoreWin32HandleKHR")] - public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetSemaphoreWin32HandleKHR")] - public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetSemaphoreWin32HandleKHR")] - public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in SemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in SemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetSemaphoreWin32HandleKHR")] - public partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in SemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public partial Result GetSemaphoreWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in SemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); /// To be documented. [NativeApi(EntryPoint = "vkImportSemaphoreWin32HandleKHR")] diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32Overloads.gen.cs index b903771a18..f4be25de3a 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalSemaphoreWin32Overloads.gen.cs @@ -19,21 +19,21 @@ namespace Silk.NET.Vulkan.Extensions.KHR public static class KhrExternalSemaphoreWin32Overloads { /// To be documented. - public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetSemaphoreWin32Handle(device, pGetWin32HandleInfo, out pHandle.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle) + public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle) { // SpanOverloader return thisApi.GetSemaphoreWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), pHandle); } /// To be documented. - public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetSemaphoreWin32Handle(this KhrExternalSemaphoreWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pGetWin32HandleInfo, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetSemaphoreWin32Handle(device, in pGetWin32HandleInfo.GetPinnableReference(), out pHandle.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracing.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracing.gen.cs index 45e62b478d..19091e1404 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracing.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracing.gen.cs @@ -360,35 +360,35 @@ public unsafe partial class KhrRayTracing : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR")] - public unsafe partial Result GetRayTracingCaptureReplayShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData); + public unsafe partial Result GetRayTracingCaptureReplayShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR")] - public partial Result GetRayTracingCaptureReplayShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetRayTracingCaptureReplayShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingShaderGroupHandlesKHR")] - public unsafe partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData); + public unsafe partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingShaderGroupHandlesKHR")] - public partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkWriteAccelerationStructuresPropertiesKHR")] - public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] UIntPtr stride); + public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] nuint stride); /// To be documented. [NativeApi(EntryPoint = "vkWriteAccelerationStructuresPropertiesKHR")] - public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] UIntPtr stride) where T0 : unmanaged; + public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] nuint stride) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkWriteAccelerationStructuresPropertiesKHR")] - public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] in AccelerationStructureKHR pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] UIntPtr stride); + public unsafe partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] in AccelerationStructureKHR pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] nuint stride); /// To be documented. [NativeApi(EntryPoint = "vkWriteAccelerationStructuresPropertiesKHR")] - public partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] in AccelerationStructureKHR pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] UIntPtr stride) where T0 : unmanaged; + public partial Result WriteAccelerationStructuresProperties([Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] in AccelerationStructureKHR pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] nuint stride) where T0 : unmanaged; public KhrRayTracing(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracingOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracingOverloads.gen.cs index 90166105f2..f2e97729be 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracingOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrRayTracingOverloads.gen.cs @@ -460,35 +460,35 @@ public static unsafe Result GetDeviceAccelerationStructureCompatibility(this Khr } /// To be documented. - public static unsafe Result GetRayTracingCaptureReplayShaderGroupHandles(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetRayTracingCaptureReplayShaderGroupHandles(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetRayTracingCaptureReplayShaderGroupHandles(device, pipeline, firstGroup, groupCount, dataSize, ref pData.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetRayTracingShaderGroupHandles(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetRayTracingShaderGroupHandles(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetRayTracingShaderGroupHandles(device, pipeline, firstGroup, groupCount, dataSize, ref pData.GetPinnableReference()); } /// To be documented. - public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] UIntPtr stride) where T0 : unmanaged + public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] AccelerationStructureKHR* pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] nuint stride) where T0 : unmanaged { // SpanOverloader return thisApi.WriteAccelerationStructuresProperties(device, accelerationStructureCount, pAccelerationStructures, queryType, dataSize, ref pData.GetPinnableReference(), stride); } /// To be documented. - public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] ReadOnlySpan pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] UIntPtr stride) + public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] ReadOnlySpan pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] nuint stride) { // SpanOverloader return thisApi.WriteAccelerationStructuresProperties(device, accelerationStructureCount, in pAccelerationStructures.GetPinnableReference(), queryType, dataSize, pData, stride); } /// To be documented. - public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] ReadOnlySpan pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] UIntPtr stride) where T0 : unmanaged + public static unsafe Result WriteAccelerationStructuresProperties(this KhrRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] uint accelerationStructureCount, [Count(Computed = "accelerationStructureCount"), Flow(FlowDirection.In)] ReadOnlySpan pAccelerationStructures, [Count(Count = 0)] QueryType queryType, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] nuint stride) where T0 : unmanaged { // SpanOverloader return thisApi.WriteAccelerationStructuresProperties(device, accelerationStructureCount, in pAccelerationStructures.GetPinnableReference(), queryType, dataSize, ref pData.GetPinnableReference(), stride); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurface.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurface.gen.cs index e3cfdc1943..bebd7cb45c 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurface.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurface.gen.cs @@ -56,11 +56,11 @@ public unsafe partial class KhrWaylandSurface : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceWaylandPresentationSupportKHR")] - public unsafe partial Bool32 GetPhysicalDeviceWaylandPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* display); + public unsafe partial Bool32 GetPhysicalDeviceWaylandPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] nint* display); /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceWaylandPresentationSupportKHR")] - public partial Bool32 GetPhysicalDeviceWaylandPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr display); + public partial Bool32 GetPhysicalDeviceWaylandPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] out nint display); public KhrWaylandSurface(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurfaceOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurfaceOverloads.gen.cs index 9892dd9615..031dc68d3f 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurfaceOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrWaylandSurfaceOverloads.gen.cs @@ -68,7 +68,7 @@ public static unsafe Result CreateWaylandSurface(this KhrWaylandSurface thisApi, } /// To be documented. - public static unsafe Bool32 GetPhysicalDeviceWaylandPresentationSupport(this KhrWaylandSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] Span display) + public static unsafe Bool32 GetPhysicalDeviceWaylandPresentationSupport(this KhrWaylandSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0), Flow(FlowDirection.Out)] Span display) { // SpanOverloader return thisApi.GetPhysicalDeviceWaylandPresentationSupport(physicalDevice, queueFamilyIndex, out display.GetPinnableReference()); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurface.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurface.gen.cs index 2b685078d1..b2d4a22f94 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurface.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurface.gen.cs @@ -56,11 +56,11 @@ public unsafe partial class KhrXcbSurface : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceXcbPresentationSupportKHR")] - public unsafe partial Bool32 GetPhysicalDeviceXcbPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] IntPtr* connection, [Count(Count = 0)] IntPtr visual_id); + public unsafe partial Bool32 GetPhysicalDeviceXcbPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] nint* connection, [Count(Count = 0)] nint visual_id); /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceXcbPresentationSupportKHR")] - public partial Bool32 GetPhysicalDeviceXcbPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref IntPtr connection, [Count(Count = 0)] IntPtr visual_id); + public partial Bool32 GetPhysicalDeviceXcbPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref nint connection, [Count(Count = 0)] nint visual_id); public KhrXcbSurface(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurfaceOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurfaceOverloads.gen.cs index fcbc4d6df3..2bc12b2c9b 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurfaceOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXcbSurfaceOverloads.gen.cs @@ -68,7 +68,7 @@ public static unsafe Result CreateXcbSurface(this KhrXcbSurface thisApi, [Count( } /// To be documented. - public static unsafe Bool32 GetPhysicalDeviceXcbPresentationSupport(this KhrXcbSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span connection, [Count(Count = 0)] IntPtr visual_id) + public static unsafe Bool32 GetPhysicalDeviceXcbPresentationSupport(this KhrXcbSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span connection, [Count(Count = 0)] nint visual_id) { // SpanOverloader return thisApi.GetPhysicalDeviceXcbPresentationSupport(physicalDevice, queueFamilyIndex, ref connection.GetPinnableReference(), visual_id); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurface.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurface.gen.cs index 43a8dcd6bf..ac76927d7b 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurface.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurface.gen.cs @@ -56,11 +56,11 @@ public unsafe partial class KhrXlibSurface : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceXlibPresentationSupportKHR")] - public unsafe partial Bool32 GetPhysicalDeviceXlibPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] IntPtr* dpy, [Count(Count = 0)] IntPtr visualID); + public unsafe partial Bool32 GetPhysicalDeviceXlibPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] nint* dpy, [Count(Count = 0)] nint visualID); /// To be documented. [NativeApi(EntryPoint = "vkGetPhysicalDeviceXlibPresentationSupportKHR")] - public partial Bool32 GetPhysicalDeviceXlibPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref IntPtr dpy, [Count(Count = 0)] IntPtr visualID); + public partial Bool32 GetPhysicalDeviceXlibPresentationSupport([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] ref nint dpy, [Count(Count = 0)] nint visualID); public KhrXlibSurface(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurfaceOverloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurfaceOverloads.gen.cs index ea8eacf8e7..b0efe7b20d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurfaceOverloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrXlibSurfaceOverloads.gen.cs @@ -68,7 +68,7 @@ public static unsafe Result CreateXlibSurface(this KhrXlibSurface thisApi, [Coun } /// To be documented. - public static unsafe Bool32 GetPhysicalDeviceXlibPresentationSupport(this KhrXlibSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span dpy, [Count(Count = 0)] IntPtr visualID) + public static unsafe Bool32 GetPhysicalDeviceXlibPresentationSupport(this KhrXlibSurface thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] uint queueFamilyIndex, [Count(Count = 0)] Span dpy, [Count(Count = 0)] nint visualID) { // SpanOverloader return thisApi.GetPhysicalDeviceXlibPresentationSupport(physicalDevice, queueFamilyIndex, ref dpy.GetPinnableReference(), visualID); diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32.gen.cs index c3524a8689..101d36b9b6 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32.gen.cs @@ -24,11 +24,11 @@ public unsafe partial class NVExternalMemoryWin32 : NativeExtension public const string ExtensionName = "VK_NV_external_memory_win32"; /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleNV")] - public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] IntPtr* pHandle); + public unsafe partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] nint* pHandle); /// To be documented. [NativeApi(EntryPoint = "vkGetMemoryWin32HandleNV")] - public partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] out IntPtr pHandle); + public partial Result GetMemoryWin32Handle([Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] out nint pHandle); public NVExternalMemoryWin32(INativeContext ctx) : base(ctx) diff --git a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32Overloads.gen.cs b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32Overloads.gen.cs index fe46325abe..6b55b0179d 100644 --- a/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32Overloads.gen.cs +++ b/src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.NV/NVExternalMemoryWin32Overloads.gen.cs @@ -19,7 +19,7 @@ namespace Silk.NET.Vulkan.Extensions.NV public static class NVExternalMemoryWin32Overloads { /// To be documented. - public static unsafe Result GetMemoryWin32Handle(this NVExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) + public static unsafe Result GetMemoryWin32Handle(this NVExternalMemoryWin32 thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] DeviceMemory memory, [Count(Count = 0)] ExternalMemoryHandleTypeFlagsNV handleType, [Count(Count = 0), Flow(FlowDirection.Out)] Span pHandle) { // SpanOverloader return thisApi.GetMemoryWin32Handle(device, memory, handleType, out pHandle.GetPinnableReference()); 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 e6bde04788..94a6606a9b 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 @@ -132,11 +132,11 @@ public unsafe partial class NVRayTracing : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetAccelerationStructureHandleNV")] - public unsafe partial Result GetAccelerationStructureHandle([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData); + public unsafe partial Result GetAccelerationStructureHandle([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetAccelerationStructureHandleNV")] - public partial Result GetAccelerationStructureHandle([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetAccelerationStructureHandle([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetAccelerationStructureMemoryRequirementsNV")] @@ -156,11 +156,11 @@ public unsafe partial class NVRayTracing : NativeExtension /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingShaderGroupHandlesNV")] - public unsafe partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData); + public unsafe partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetRayTracingShaderGroupHandlesNV")] - public partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetRayTracingShaderGroupHandles([Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData) where T0 : unmanaged; public NVRayTracing(INativeContext ctx) : base(ctx) 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 74f3ac41bf..371a10af67 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 @@ -145,7 +145,7 @@ public static unsafe void DestroyAccelerationStructure(this NVRayTracing thisApi } /// To be documented. - public static unsafe Result GetAccelerationStructureHandle(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetAccelerationStructureHandle(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetAccelerationStructureHandle(device, accelerationStructure, dataSize, ref pData.GetPinnableReference()); @@ -173,7 +173,7 @@ public static unsafe void GetAccelerationStructureMemoryRequirements(this NVRayT } /// To be documented. - public static unsafe Result GetRayTracingShaderGroupHandles(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetRayTracingShaderGroupHandles(this NVRayTracing thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] Pipeline pipeline, [Count(Count = 0)] uint firstGroup, [Count(Count = 0)] uint groupCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetRayTracingShaderGroupHandles(device, pipeline, firstGroup, groupCount, dataSize, ref pData.GetPinnableReference()); diff --git a/src/Vulkan/Silk.NET.Vulkan/AllocationFunction.cs b/src/Vulkan/Silk.NET.Vulkan/AllocationFunction.cs index 05bd939d70..6c272aa7be 100644 --- a/src/Vulkan/Silk.NET.Vulkan/AllocationFunction.cs +++ b/src/Vulkan/Silk.NET.Vulkan/AllocationFunction.cs @@ -9,7 +9,7 @@ namespace Silk.NET.Vulkan { public unsafe delegate void* AllocationFunction( void* pUserData, - UIntPtr size, - UIntPtr alignment, + nuint size, + nuint alignment, SystemAllocationScope allocationScope); } diff --git a/src/Vulkan/Silk.NET.Vulkan/DebugReportCallbackFunctionEXT.cs b/src/Vulkan/Silk.NET.Vulkan/DebugReportCallbackFunctionEXT.cs index d11eaf6ca7..f7618ab296 100644 --- a/src/Vulkan/Silk.NET.Vulkan/DebugReportCallbackFunctionEXT.cs +++ b/src/Vulkan/Silk.NET.Vulkan/DebugReportCallbackFunctionEXT.cs @@ -6,7 +6,7 @@ public unsafe delegate uint DebugReportCallbackFunctionEXT( uint flags, DebugReportObjectTypeEXT objectType, ulong @object, - UIntPtr location, + nuint location, int messageCode, byte* pLayerPrefix, byte* pMessage, diff --git a/src/Vulkan/Silk.NET.Vulkan/InternalAllocationNotification.cs b/src/Vulkan/Silk.NET.Vulkan/InternalAllocationNotification.cs index f4e5d8fe86..6e31ae47c6 100644 --- a/src/Vulkan/Silk.NET.Vulkan/InternalAllocationNotification.cs +++ b/src/Vulkan/Silk.NET.Vulkan/InternalAllocationNotification.cs @@ -4,7 +4,7 @@ namespace Silk.NET.Vulkan { public unsafe delegate void InternalAllocationNotification( void* pUserData, - UIntPtr size, + nuint size, InternalAllocationType allocationType, SystemAllocationScope allocationScope); } \ No newline at end of file diff --git a/src/Vulkan/Silk.NET.Vulkan/InternalFreeNotification.cs b/src/Vulkan/Silk.NET.Vulkan/InternalFreeNotification.cs index 79d8ea188c..338c68e565 100644 --- a/src/Vulkan/Silk.NET.Vulkan/InternalFreeNotification.cs +++ b/src/Vulkan/Silk.NET.Vulkan/InternalFreeNotification.cs @@ -4,7 +4,7 @@ namespace Silk.NET.Vulkan { public unsafe delegate void InternalFreeNotification( void* pUserData, - UIntPtr size, + nuint size, InternalAllocationType allocationType, SystemAllocationScope allocationScope); } \ No newline at end of file diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnAllocationFunction.cs b/src/Vulkan/Silk.NET.Vulkan/PfnAllocationFunction.cs index 2c471d78c2..31a614178b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnAllocationFunction.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnAllocationFunction.cs @@ -13,7 +13,7 @@ public readonly unsafe struct PfnAllocationFunction public PfnAllocationFunction (delegate* unmanaged[Cdecl] ptr) => _handle = ptr; - public static implicit operator IntPtr(PfnAllocationFunction pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnAllocationFunction pfn) => (nint) pfn.Handle; public PfnAllocationFunction (AllocationFunction func) => _handle = @@ -29,6 +29,6 @@ public static implicit operator PfnAllocationFunction public static implicit operator PfnAllocationFunction(AllocationFunction func) => new(func); public static explicit operator AllocationFunction - (PfnAllocationFunction pfn) => SilkMarshal.PtrToDelegate((IntPtr) pfn.Handle); + (PfnAllocationFunction pfn) => SilkMarshal.PtrToDelegate((nint) pfn.Handle); } } diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnDebugReportCallbackEXT.cs b/src/Vulkan/Silk.NET.Vulkan/PfnDebugReportCallbackEXT.cs index 0a7483ba35..b67b52fa63 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnDebugReportCallbackEXT.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnDebugReportCallbackEXT.cs @@ -19,7 +19,7 @@ public PfnDebugReportCallbackEXT void*, Bool32> ptr ) => _handle = ptr; - public static implicit operator IntPtr(PfnDebugReportCallbackEXT pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnDebugReportCallbackEXT pfn) => (nint) pfn.Handle; public PfnDebugReportCallbackEXT (DebugReportCallbackFunctionEXT func) => _handle = @@ -39,6 +39,6 @@ public static implicit operator PfnDebugReportCallbackEXT public static explicit operator DebugReportCallbackFunctionEXT (PfnDebugReportCallbackEXT pfn) => SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnDebugUtilsMessengerCallbackEXT.cs b/src/Vulkan/Silk.NET.Vulkan/PfnDebugUtilsMessengerCallbackEXT.cs index 407568c826..3faaf5d664 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnDebugUtilsMessengerCallbackEXT.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnDebugUtilsMessengerCallbackEXT.cs @@ -19,7 +19,7 @@ public PfnDebugUtilsMessengerCallbackEXT DebugUtilsMessengerCallbackDataEXT*, void*, Bool32> ptr ) => _handle = ptr; - public static implicit operator IntPtr(PfnDebugUtilsMessengerCallbackEXT pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnDebugUtilsMessengerCallbackEXT pfn) => (nint) pfn.Handle; public PfnDebugUtilsMessengerCallbackEXT(DebugUtilsMessengerCallbackFunctionEXT func) => _handle = (delegate* unmanaged[Cdecl] SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } \ No newline at end of file diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnFreeFunction.cs b/src/Vulkan/Silk.NET.Vulkan/PfnFreeFunction.cs index 400379d2f4..ea20a26811 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnFreeFunction.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnFreeFunction.cs @@ -12,7 +12,7 @@ public readonly unsafe struct PfnFreeFunction public PfnFreeFunction(delegate* unmanaged[Cdecl] ptr) => _handle = ptr; - public static implicit operator IntPtr(PfnFreeFunction pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnFreeFunction pfn) => (nint) pfn.Handle; public PfnFreeFunction (FreeFunction func) => _handle = (delegate* unmanaged[Cdecl]) SilkMarshal.DelegateToPtr @@ -27,6 +27,6 @@ public static implicit operator PfnFreeFunction public static implicit operator PfnFreeFunction(FreeFunction func) => new(func); public static explicit operator FreeFunction(PfnFreeFunction pfn) => SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnInternalAllocationNotification.cs b/src/Vulkan/Silk.NET.Vulkan/PfnInternalAllocationNotification.cs index 958c35dad6..2f652b4e4a 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnInternalAllocationNotification.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnInternalAllocationNotification.cs @@ -37,6 +37,6 @@ public static implicit operator PfnInternalAllocationNotification public static explicit operator InternalAllocationNotification (PfnInternalAllocationNotification pfn) => SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnInternalFreeNotification.cs b/src/Vulkan/Silk.NET.Vulkan/PfnInternalFreeNotification.cs index 7acd053d95..27224c9772 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnInternalFreeNotification.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnInternalFreeNotification.cs @@ -31,6 +31,6 @@ public static implicit operator PfnInternalFreeNotification public static explicit operator InternalFreeNotification (PfnInternalFreeNotification pfn) => SilkMarshal.PtrToDelegate - ((IntPtr) pfn.Handle); + ((nint) pfn.Handle); } } diff --git a/src/Vulkan/Silk.NET.Vulkan/PfnReallocationFunction.cs b/src/Vulkan/Silk.NET.Vulkan/PfnReallocationFunction.cs index e9793fdcef..5c168a5c4c 100644 --- a/src/Vulkan/Silk.NET.Vulkan/PfnReallocationFunction.cs +++ b/src/Vulkan/Silk.NET.Vulkan/PfnReallocationFunction.cs @@ -13,7 +13,7 @@ public readonly unsafe struct PfnReallocationFunction public PfnReallocationFunction (delegate* unmanaged[Cdecl] ptr) => _handle = ptr; - public static implicit operator IntPtr(PfnReallocationFunction pfn) => (IntPtr) pfn.Handle; + public static implicit operator nint(PfnReallocationFunction pfn) => (nint) pfn.Handle; public PfnReallocationFunction (ReallocationFunction func) => _handle = @@ -29,6 +29,6 @@ public static implicit operator PfnReallocationFunction public static implicit operator PfnReallocationFunction(ReallocationFunction func) => new(func); public static explicit operator ReallocationFunction - (PfnReallocationFunction pfn) => SilkMarshal.PtrToDelegate((IntPtr) pfn.Handle); + (PfnReallocationFunction pfn) => SilkMarshal.PtrToDelegate((nint) pfn.Handle); } } \ No newline at end of file diff --git a/src/Vulkan/Silk.NET.Vulkan/ReallocationFunction.cs b/src/Vulkan/Silk.NET.Vulkan/ReallocationFunction.cs index 62f27ecaa1..57ed5e01eb 100644 --- a/src/Vulkan/Silk.NET.Vulkan/ReallocationFunction.cs +++ b/src/Vulkan/Silk.NET.Vulkan/ReallocationFunction.cs @@ -5,7 +5,7 @@ namespace Silk.NET.Vulkan public unsafe delegate void* ReallocationFunction( void* pUserData, void* pOriginal, - UIntPtr size, - UIntPtr alignment, + nuint size, + nuint alignment, SystemAllocationScope allocationScope); } \ No newline at end of file diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/AndroidSurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/AndroidSurfaceCreateInfoKHR.gen.cs index 2ea674cc3c..095bcc1ca3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/AndroidSurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/AndroidSurfaceCreateInfoKHR.gen.cs @@ -26,7 +26,7 @@ public AndroidSurfaceCreateInfoKHR StructureType? sType = StructureType.AndroidSurfaceCreateInfoKhr, void* pNext = null, uint? flags = null, - IntPtr* window = null + nint* window = null ) : this() { if (sType is not null) @@ -69,6 +69,6 @@ public AndroidSurfaceCreateInfoKHR [NativeName("Type", "ANativeWindow*")] [NativeName("Type.Name", "ANativeWindow")] [NativeName("Name", "window")] - public IntPtr* Window; + public nint* Window; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/CommandBuffer.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/CommandBuffer.gen.cs index e4406873b5..084a2db1d1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/CommandBuffer.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/CommandBuffer.gen.cs @@ -23,7 +23,7 @@ public unsafe partial struct CommandBuffer { public CommandBuffer ( - IntPtr? handle = null + nint? handle = null ) : this() { if (handle is not null) @@ -36,6 +36,6 @@ public CommandBuffer [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DebugMarkerObjectTagInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DebugMarkerObjectTagInfoEXT.gen.cs index 89968f9ef6..1807246c93 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DebugMarkerObjectTagInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DebugMarkerObjectTagInfoEXT.gen.cs @@ -28,7 +28,7 @@ public DebugMarkerObjectTagInfoEXT DebugReportObjectTypeEXT? objectType = null, ulong? @object = null, ulong? tagName = null, - UIntPtr? tagSize = null, + nuint? tagSize = null, void* pTag = null ) : this() { @@ -97,7 +97,7 @@ public DebugMarkerObjectTagInfoEXT [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "tagSize")] - public UIntPtr TagSize; + public nuint TagSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DebugUtilsObjectTagInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DebugUtilsObjectTagInfoEXT.gen.cs index 7ce07d9e37..a8bf70476b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DebugUtilsObjectTagInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DebugUtilsObjectTagInfoEXT.gen.cs @@ -28,7 +28,7 @@ public DebugUtilsObjectTagInfoEXT ObjectType? objectType = null, ulong? objectHandle = null, ulong? tagName = null, - UIntPtr? tagSize = null, + nuint? tagSize = null, void* pTag = null ) : this() { @@ -97,7 +97,7 @@ public DebugUtilsObjectTagInfoEXT [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "tagSize")] - public UIntPtr TagSize; + public nuint TagSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntry.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntry.gen.cs index 2ef861b6a9..5adde046e1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntry.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntry.gen.cs @@ -27,8 +27,8 @@ public DescriptorUpdateTemplateEntry uint? dstArrayElement = null, uint? descriptorCount = null, DescriptorType? descriptorType = null, - UIntPtr? offset = null, - UIntPtr? stride = null + nuint? offset = null, + nuint? stride = null ) : this() { if (dstBinding is not null) @@ -86,11 +86,11 @@ public DescriptorUpdateTemplateEntry [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "offset")] - public UIntPtr Offset; + public nuint Offset; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "stride")] - public UIntPtr Stride; + public nuint Stride; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntryKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntryKHR.gen.cs index be387c98a1..f3e3758625 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntryKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DescriptorUpdateTemplateEntryKHR.gen.cs @@ -27,8 +27,8 @@ public DescriptorUpdateTemplateEntryKHR uint? dstArrayElement = null, uint? descriptorCount = null, DescriptorType? descriptorType = null, - UIntPtr? offset = null, - UIntPtr? stride = null + nuint? offset = null, + nuint? stride = null ) : this() { if (dstBinding is not null) @@ -86,11 +86,11 @@ public DescriptorUpdateTemplateEntryKHR [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "offset")] - public UIntPtr Offset; + public nuint Offset; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "stride")] - public UIntPtr Stride; + public nuint Stride; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/Device.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/Device.gen.cs index c657da095c..afcf678d6f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/Device.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/Device.gen.cs @@ -23,7 +23,7 @@ public unsafe partial struct Device { public Device ( - IntPtr? handle = null + nint? handle = null ) : this() { if (handle is not null) @@ -36,6 +36,6 @@ public Device [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/DirectFBSurfaceCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/DirectFBSurfaceCreateInfoEXT.gen.cs index b8dd5d1a78..2b78642183 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/DirectFBSurfaceCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/DirectFBSurfaceCreateInfoEXT.gen.cs @@ -26,8 +26,8 @@ public DirectFBSurfaceCreateInfoEXT StructureType? sType = StructureType.DirectfbSurfaceCreateInfoExt, void* pNext = null, uint? flags = null, - IntPtr? dfb = null, - IntPtr? surface = null + nint? dfb = null, + nint? surface = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public DirectFBSurfaceCreateInfoEXT [NativeName("Type", "IDirectFB*")] [NativeName("Type.Name", "IDirectFB")] [NativeName("Name", "dfb")] - public IntPtr Dfb; + public nint Dfb; /// [NativeName("Type", "IDirectFBSurface*")] [NativeName("Type.Name", "IDirectFBSurface")] [NativeName("Name", "surface")] - public IntPtr Surface; + public nint Surface; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportFenceWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportFenceWin32HandleInfoKHR.gen.cs index c5f3649fc2..fe92158bac 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportFenceWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportFenceWin32HandleInfoKHR.gen.cs @@ -25,9 +25,9 @@ public ExportFenceWin32HandleInfoKHR ( StructureType? sType = StructureType.ExportFenceWin32HandleInfoKhr, void* pNext = null, - IntPtr* pAttributes = null, + nint* pAttributes = null, int? dwAccess = null, - IntPtr? name = null + nint? name = null ) : this() { if (sType is not null) @@ -70,7 +70,7 @@ public ExportFenceWin32HandleInfoKHR [NativeName("Type", "SECURITY_ATTRIBUTES*")] [NativeName("Type.Name", "SECURITY_ATTRIBUTES")] [NativeName("Name", "pAttributes")] - public IntPtr* PAttributes; + public nint* PAttributes; /// [NativeName("Type", "DWORD")] [NativeName("Type.Name", "DWORD")] @@ -80,6 +80,6 @@ public ExportFenceWin32HandleInfoKHR [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoKHR.gen.cs index e93fb38b83..44fb2ae051 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoKHR.gen.cs @@ -25,9 +25,9 @@ public ExportMemoryWin32HandleInfoKHR ( StructureType? sType = StructureType.ExportMemoryWin32HandleInfoKhr, void* pNext = null, - IntPtr* pAttributes = null, + nint* pAttributes = null, int? dwAccess = null, - IntPtr? name = null + nint? name = null ) : this() { if (sType is not null) @@ -70,7 +70,7 @@ public ExportMemoryWin32HandleInfoKHR [NativeName("Type", "SECURITY_ATTRIBUTES*")] [NativeName("Type.Name", "SECURITY_ATTRIBUTES")] [NativeName("Name", "pAttributes")] - public IntPtr* PAttributes; + public nint* PAttributes; /// [NativeName("Type", "DWORD")] [NativeName("Type.Name", "DWORD")] @@ -80,6 +80,6 @@ public ExportMemoryWin32HandleInfoKHR [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoNV.gen.cs index a015f062c8..64c4427a6d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoNV.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportMemoryWin32HandleInfoNV.gen.cs @@ -25,7 +25,7 @@ public ExportMemoryWin32HandleInfoNV ( StructureType? sType = StructureType.ExportMemoryWin32HandleInfoNV, void* pNext = null, - IntPtr* pAttributes = null, + nint* pAttributes = null, int? dwAccess = null ) : this() { @@ -64,7 +64,7 @@ public ExportMemoryWin32HandleInfoNV [NativeName("Type", "SECURITY_ATTRIBUTES*")] [NativeName("Type.Name", "SECURITY_ATTRIBUTES")] [NativeName("Name", "pAttributes")] - public IntPtr* PAttributes; + public nint* PAttributes; /// [NativeName("Type", "DWORD")] [NativeName("Type.Name", "DWORD")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportSemaphoreWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportSemaphoreWin32HandleInfoKHR.gen.cs index 00d6fe9a87..1b7bb2f9b4 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ExportSemaphoreWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ExportSemaphoreWin32HandleInfoKHR.gen.cs @@ -25,9 +25,9 @@ public ExportSemaphoreWin32HandleInfoKHR ( StructureType? sType = StructureType.ExportSemaphoreWin32HandleInfoKhr, void* pNext = null, - IntPtr* pAttributes = null, + nint* pAttributes = null, int? dwAccess = null, - IntPtr? name = null + nint? name = null ) : this() { if (sType is not null) @@ -70,7 +70,7 @@ public ExportSemaphoreWin32HandleInfoKHR [NativeName("Type", "SECURITY_ATTRIBUTES*")] [NativeName("Type.Name", "SECURITY_ATTRIBUTES")] [NativeName("Name", "pAttributes")] - public IntPtr* PAttributes; + public nint* PAttributes; /// [NativeName("Type", "DWORD")] [NativeName("Type.Name", "DWORD")] @@ -80,6 +80,6 @@ public ExportSemaphoreWin32HandleInfoKHR [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImagePipeSurfaceCreateInfoFUCHSIA.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImagePipeSurfaceCreateInfoFUCHSIA.gen.cs index 174defdb95..481b94554b 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImagePipeSurfaceCreateInfoFUCHSIA.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImagePipeSurfaceCreateInfoFUCHSIA.gen.cs @@ -26,7 +26,7 @@ public ImagePipeSurfaceCreateInfoFUCHSIA StructureType? sType = StructureType.ImagepipeSurfaceCreateInfoFuchsia, void* pNext = null, uint? flags = null, - IntPtr? imagePipeHandle = null + nint? imagePipeHandle = null ) : this() { if (sType is not null) @@ -69,6 +69,6 @@ public ImagePipeSurfaceCreateInfoFUCHSIA [NativeName("Type", "zx_handle_t")] [NativeName("Type.Name", "zx_handle_t")] [NativeName("Name", "imagePipeHandle")] - public IntPtr ImagePipeHandle; + public nint ImagePipeHandle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportAndroidHardwareBufferInfoANDROID.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportAndroidHardwareBufferInfoANDROID.gen.cs index 641bcea1db..2ab190ecdc 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportAndroidHardwareBufferInfoANDROID.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportAndroidHardwareBufferInfoANDROID.gen.cs @@ -25,7 +25,7 @@ public ImportAndroidHardwareBufferInfoANDROID ( StructureType? sType = StructureType.ImportAndroidHardwareBufferInfoAndroid, void* pNext = null, - IntPtr* buffer = null + nint* buffer = null ) : this() { if (sType is not null) @@ -58,6 +58,6 @@ public ImportAndroidHardwareBufferInfoANDROID [NativeName("Type", "AHardwareBuffer*")] [NativeName("Type.Name", "AHardwareBuffer")] [NativeName("Name", "buffer")] - public IntPtr* Buffer; + public nint* Buffer; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportFenceWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportFenceWin32HandleInfoKHR.gen.cs index d8a8a740a8..e953fa698f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportFenceWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportFenceWin32HandleInfoKHR.gen.cs @@ -28,8 +28,8 @@ public ImportFenceWin32HandleInfoKHR Fence? fence = null, FenceImportFlags? flags = null, ExternalFenceHandleTypeFlags? handleType = null, - IntPtr? handle = null, - IntPtr? name = null + nint? handle = null, + nint? name = null ) : this() { if (sType is not null) @@ -97,11 +97,11 @@ public ImportFenceWin32HandleInfoKHR [NativeName("Type", "HANDLE")] [NativeName("Type.Name", "HANDLE")] [NativeName("Name", "handle")] - public IntPtr Handle; + public nint Handle; /// [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoKHR.gen.cs index 1aae6590b8..4b3e275bba 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoKHR.gen.cs @@ -26,8 +26,8 @@ public ImportMemoryWin32HandleInfoKHR StructureType? sType = StructureType.ImportMemoryWin32HandleInfoKhr, void* pNext = null, ExternalMemoryHandleTypeFlags? handleType = null, - IntPtr? handle = null, - IntPtr? name = null + nint? handle = null, + nint? name = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public ImportMemoryWin32HandleInfoKHR [NativeName("Type", "HANDLE")] [NativeName("Type.Name", "HANDLE")] [NativeName("Name", "handle")] - public IntPtr Handle; + public nint Handle; /// [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoNV.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoNV.gen.cs index b8a26397b1..1540eeb2df 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoNV.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportMemoryWin32HandleInfoNV.gen.cs @@ -26,7 +26,7 @@ public ImportMemoryWin32HandleInfoNV StructureType? sType = StructureType.ImportMemoryWin32HandleInfoNV, void* pNext = null, ExternalMemoryHandleTypeFlagsNV? handleType = null, - IntPtr? handle = null + nint? handle = null ) : this() { if (sType is not null) @@ -69,6 +69,6 @@ public ImportMemoryWin32HandleInfoNV [NativeName("Type", "HANDLE")] [NativeName("Type.Name", "HANDLE")] [NativeName("Name", "handle")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportSemaphoreWin32HandleInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportSemaphoreWin32HandleInfoKHR.gen.cs index 637e0095b5..8d7be02c92 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ImportSemaphoreWin32HandleInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ImportSemaphoreWin32HandleInfoKHR.gen.cs @@ -28,8 +28,8 @@ public ImportSemaphoreWin32HandleInfoKHR Semaphore? semaphore = null, SemaphoreImportFlags? flags = null, ExternalSemaphoreHandleTypeFlags? handleType = null, - IntPtr? handle = null, - IntPtr? name = null + nint? handle = null, + nint? name = null ) : this() { if (sType is not null) @@ -97,11 +97,11 @@ public ImportSemaphoreWin32HandleInfoKHR [NativeName("Type", "HANDLE")] [NativeName("Type.Name", "HANDLE")] [NativeName("Name", "handle")] - public IntPtr Handle; + public nint Handle; /// [NativeName("Type", "LPCWSTR")] [NativeName("Type.Name", "LPCWSTR")] [NativeName("Name", "name")] - public IntPtr Name; + public nint Name; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/Instance.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/Instance.gen.cs index 208df64c47..c9ec094ab6 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/Instance.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/Instance.gen.cs @@ -23,7 +23,7 @@ public unsafe partial struct Instance { public Instance ( - IntPtr? handle = null + nint? handle = null ) : this() { if (handle is not null) @@ -36,6 +36,6 @@ public Instance [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/MetalSurfaceCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/MetalSurfaceCreateInfoEXT.gen.cs index 4b27c70172..b2519b5a9d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/MetalSurfaceCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/MetalSurfaceCreateInfoEXT.gen.cs @@ -26,7 +26,7 @@ public MetalSurfaceCreateInfoEXT StructureType? sType = StructureType.MetalSurfaceCreateInfoExt, void* pNext = null, uint? flags = null, - IntPtr* pLayer = null + nint* pLayer = null ) : this() { if (sType is not null) @@ -69,6 +69,6 @@ public MetalSurfaceCreateInfoEXT [NativeName("Type", "CAMetalLayer*")] [NativeName("Type.Name", "CAMetalLayer")] [NativeName("Name", "pLayer")] - public IntPtr* PLayer; + public nint* PLayer; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevice.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevice.gen.cs index cedcaac119..f066e1fe50 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevice.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDevice.gen.cs @@ -23,7 +23,7 @@ public unsafe partial struct PhysicalDevice { public PhysicalDevice ( - IntPtr? handle = null + nint? handle = null ) : this() { if (handle is not null) @@ -36,6 +36,6 @@ public PhysicalDevice [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLimits.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLimits.gen.cs index e47ce7417c..e30337f0b8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLimits.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PhysicalDeviceLimits.gen.cs @@ -85,7 +85,7 @@ public PhysicalDeviceLimits float? maxSamplerAnisotropy = null, uint? maxViewports = null, uint? viewportSubPixelBits = null, - UIntPtr? minMemoryMapAlignment = null, + nuint? minMemoryMapAlignment = null, ulong? minTexelBufferOffsetAlignment = null, ulong? minUniformBufferOffsetAlignment = null, ulong? minStorageBufferOffsetAlignment = null, @@ -960,7 +960,7 @@ public PhysicalDeviceLimits [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "minMemoryMapAlignment")] - public UIntPtr MinMemoryMapAlignment; + public nuint MinMemoryMapAlignment; /// [NativeName("Type", "VkDeviceSize")] [NativeName("Type.Name", "VkDeviceSize")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCacheCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCacheCreateInfo.gen.cs index ec8bf3251b..bb62e45273 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCacheCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCacheCreateInfo.gen.cs @@ -26,7 +26,7 @@ public PipelineCacheCreateInfo StructureType? sType = StructureType.PipelineCacheCreateInfo, void* pNext = null, PipelineCacheCreateFlags? flags = null, - UIntPtr? initialDataSize = null, + nuint? initialDataSize = null, void* pInitialData = null ) : this() { @@ -75,7 +75,7 @@ public PipelineCacheCreateInfo [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "initialDataSize")] - public UIntPtr InitialDataSize; + public nuint InitialDataSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineExecutableInternalRepresentationKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineExecutableInternalRepresentationKHR.gen.cs index d1620c7d2a..721a3e43e5 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineExecutableInternalRepresentationKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PipelineExecutableInternalRepresentationKHR.gen.cs @@ -26,7 +26,7 @@ public PipelineExecutableInternalRepresentationKHR StructureType? sType = StructureType.PipelineExecutableInternalRepresentationKhr, void* pNext = null, Bool32? isText = null, - UIntPtr? dataSize = null, + nuint? dataSize = null, void* pData = null ) : this() { @@ -85,7 +85,7 @@ public PipelineExecutableInternalRepresentationKHR [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "dataSize")] - public UIntPtr DataSize; + public nuint DataSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/PresentFrameTokenGGP.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentFrameTokenGGP.gen.cs index 4274470d67..2ad08a8f8f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/PresentFrameTokenGGP.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/PresentFrameTokenGGP.gen.cs @@ -25,7 +25,7 @@ public PresentFrameTokenGGP ( StructureType? sType = StructureType.PresentFrameTokenGgp, void* pNext = null, - IntPtr? frameToken = null + nint? frameToken = null ) : this() { if (sType is not null) @@ -58,6 +58,6 @@ public PresentFrameTokenGGP [NativeName("Type", "GgpFrameToken")] [NativeName("Type.Name", "GgpFrameToken")] [NativeName("Name", "frameToken")] - public IntPtr FrameToken; + public nint FrameToken; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/Queue.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/Queue.gen.cs index 45423afe2d..6dd57fc78d 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/Queue.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/Queue.gen.cs @@ -23,7 +23,7 @@ public unsafe partial struct Queue { public Queue ( - IntPtr? handle = null + nint? handle = null ) : this() { if (handle is not null) @@ -36,6 +36,6 @@ public Queue [NativeName("Type", "")] [NativeName("Type.Name", "")] [NativeName("Name", "")] - public IntPtr Handle; + public nint Handle; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs index df0c755ea1..69d450eaa8 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderModuleCreateInfo.gen.cs @@ -26,7 +26,7 @@ public ShaderModuleCreateInfo StructureType? sType = StructureType.ShaderModuleCreateInfo, void* pNext = null, ShaderModuleCreateFlags? flags = null, - UIntPtr? codeSize = null, + nuint? codeSize = null, uint* pCode = null ) : this() { @@ -75,7 +75,7 @@ public ShaderModuleCreateInfo [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "codeSize")] - public UIntPtr CodeSize; + public nuint CodeSize; /// [NativeName("Type", "uint32_t*")] [NativeName("Type.Name", "uint32_t")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderResourceUsageAMD.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderResourceUsageAMD.gen.cs index 70052612fd..9c51f95d4c 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderResourceUsageAMD.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ShaderResourceUsageAMD.gen.cs @@ -26,8 +26,8 @@ public ShaderResourceUsageAMD uint? numUsedVgprs = null, uint? numUsedSgprs = null, uint? ldsSizePerLocalWorkGroup = null, - UIntPtr? ldsUsageSizeInBytes = null, - UIntPtr? scratchMemUsageInBytes = null + nuint? ldsUsageSizeInBytes = null, + nuint? scratchMemUsageInBytes = null ) : this() { if (numUsedVgprs is not null) @@ -75,11 +75,11 @@ public ShaderResourceUsageAMD [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "ldsUsageSizeInBytes")] - public UIntPtr LdsUsageSizeInBytes; + public nuint LdsUsageSizeInBytes; /// [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "scratchMemUsageInBytes")] - public UIntPtr ScratchMemUsageInBytes; + public nuint ScratchMemUsageInBytes; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationInfo.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationInfo.gen.cs index cb000db385..cb4f3fe451 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationInfo.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationInfo.gen.cs @@ -25,7 +25,7 @@ public SpecializationInfo ( uint? mapEntryCount = null, SpecializationMapEntry* pMapEntries = null, - UIntPtr? dataSize = null, + nuint? dataSize = null, void* pData = null ) : this() { @@ -64,7 +64,7 @@ public SpecializationInfo [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "dataSize")] - public UIntPtr DataSize; + public nuint DataSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationMapEntry.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationMapEntry.gen.cs index 6fbc0f0da4..b336dc80ab 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationMapEntry.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SpecializationMapEntry.gen.cs @@ -25,7 +25,7 @@ public SpecializationMapEntry ( uint? constantID = null, uint? offset = null, - UIntPtr? size = null + nuint? size = null ) : this() { if (constantID is not null) @@ -58,6 +58,6 @@ public SpecializationMapEntry [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "size")] - public UIntPtr Size; + public nuint Size; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/StreamDescriptorSurfaceCreateInfoGGP.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/StreamDescriptorSurfaceCreateInfoGGP.gen.cs index 5bb0725eca..5241857cc9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/StreamDescriptorSurfaceCreateInfoGGP.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/StreamDescriptorSurfaceCreateInfoGGP.gen.cs @@ -26,7 +26,7 @@ public StreamDescriptorSurfaceCreateInfoGGP StructureType? sType = StructureType.StreamDescriptorSurfaceCreateInfoGgp, void* pNext = null, uint? flags = null, - IntPtr? streamDescriptor = null + nint? streamDescriptor = null ) : this() { if (sType is not null) @@ -69,6 +69,6 @@ public StreamDescriptorSurfaceCreateInfoGGP [NativeName("Type", "GgpStreamDescriptor")] [NativeName("Type.Name", "GgpStreamDescriptor")] [NativeName("Name", "streamDescriptor")] - public IntPtr StreamDescriptor; + public nint StreamDescriptor; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceFullScreenExclusiveWin32InfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceFullScreenExclusiveWin32InfoEXT.gen.cs index 2a89af824e..f7d5dae5e3 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceFullScreenExclusiveWin32InfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/SurfaceFullScreenExclusiveWin32InfoEXT.gen.cs @@ -25,7 +25,7 @@ public SurfaceFullScreenExclusiveWin32InfoEXT ( StructureType? sType = StructureType.SurfaceFullScreenExclusiveWin32InfoExt, void* pNext = null, - IntPtr? hmonitor = null + nint? hmonitor = null ) : this() { if (sType is not null) @@ -58,6 +58,6 @@ public SurfaceFullScreenExclusiveWin32InfoEXT [NativeName("Type", "HMONITOR")] [NativeName("Type.Name", "HMONITOR")] [NativeName("Name", "hmonitor")] - public IntPtr Hmonitor; + public nint Hmonitor; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/ValidationCacheCreateInfoEXT.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/ValidationCacheCreateInfoEXT.gen.cs index 0f30142297..c5b55030e1 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/ValidationCacheCreateInfoEXT.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/ValidationCacheCreateInfoEXT.gen.cs @@ -26,7 +26,7 @@ public ValidationCacheCreateInfoEXT StructureType? sType = StructureType.ValidationCacheCreateInfoExt, void* pNext = null, uint? flags = null, - UIntPtr? initialDataSize = null, + nuint? initialDataSize = null, void* pInitialData = null ) : this() { @@ -75,7 +75,7 @@ public ValidationCacheCreateInfoEXT [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "initialDataSize")] - public UIntPtr InitialDataSize; + public nuint InitialDataSize; /// [NativeName("Type", "void*")] [NativeName("Type.Name", "void")] diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/WaylandSurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/WaylandSurfaceCreateInfoKHR.gen.cs index c89e0b849b..d2ac724b0a 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/WaylandSurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/WaylandSurfaceCreateInfoKHR.gen.cs @@ -26,8 +26,8 @@ public WaylandSurfaceCreateInfoKHR StructureType? sType = StructureType.WaylandSurfaceCreateInfoKhr, void* pNext = null, uint? flags = null, - IntPtr* display = null, - IntPtr* surface = null + nint* display = null, + nint* surface = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public WaylandSurfaceCreateInfoKHR [NativeName("Type", "wl_display*")] [NativeName("Type.Name", "wl_display")] [NativeName("Name", "display")] - public IntPtr* Display; + public nint* Display; /// [NativeName("Type", "wl_surface*")] [NativeName("Type.Name", "wl_surface")] [NativeName("Name", "surface")] - public IntPtr* Surface; + public nint* Surface; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/Win32SurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/Win32SurfaceCreateInfoKHR.gen.cs index 09a2836faf..21248a91a9 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/Win32SurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/Win32SurfaceCreateInfoKHR.gen.cs @@ -26,8 +26,8 @@ public Win32SurfaceCreateInfoKHR StructureType? sType = StructureType.Win32SurfaceCreateInfoKhr, void* pNext = null, uint? flags = null, - IntPtr? hinstance = null, - IntPtr? hwnd = null + nint? hinstance = null, + nint? hwnd = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public Win32SurfaceCreateInfoKHR [NativeName("Type", "HINSTANCE")] [NativeName("Type.Name", "HINSTANCE")] [NativeName("Name", "hinstance")] - public IntPtr Hinstance; + public nint Hinstance; /// [NativeName("Type", "HWND")] [NativeName("Type.Name", "HWND")] [NativeName("Name", "hwnd")] - public IntPtr Hwnd; + public nint Hwnd; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/XcbSurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/XcbSurfaceCreateInfoKHR.gen.cs index 8398c184d0..059d74862f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/XcbSurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/XcbSurfaceCreateInfoKHR.gen.cs @@ -26,8 +26,8 @@ public XcbSurfaceCreateInfoKHR StructureType? sType = StructureType.XcbSurfaceCreateInfoKhr, void* pNext = null, uint? flags = null, - IntPtr* connection = null, - IntPtr? window = null + nint* connection = null, + nint? window = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public XcbSurfaceCreateInfoKHR [NativeName("Type", "xcb_connection_t*")] [NativeName("Type.Name", "xcb_connection_t")] [NativeName("Name", "connection")] - public IntPtr* Connection; + public nint* Connection; /// [NativeName("Type", "xcb_window_t")] [NativeName("Type.Name", "xcb_window_t")] [NativeName("Name", "window")] - public IntPtr Window; + public nint Window; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Structs/XlibSurfaceCreateInfoKHR.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Structs/XlibSurfaceCreateInfoKHR.gen.cs index 09893b2c2d..1c1a1ac065 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Structs/XlibSurfaceCreateInfoKHR.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Structs/XlibSurfaceCreateInfoKHR.gen.cs @@ -26,8 +26,8 @@ public XlibSurfaceCreateInfoKHR StructureType? sType = StructureType.XlibSurfaceCreateInfoKhr, void* pNext = null, uint? flags = null, - IntPtr* dpy = null, - IntPtr? window = null + nint* dpy = null, + nint? window = null ) : this() { if (sType is not null) @@ -75,11 +75,11 @@ public XlibSurfaceCreateInfoKHR [NativeName("Type", "Display*")] [NativeName("Type.Name", "Display")] [NativeName("Name", "dpy")] - public IntPtr* Dpy; + public nint* Dpy; /// [NativeName("Type", "Window")] [NativeName("Type.Name", "Window")] [NativeName("Name", "window")] - public IntPtr Window; + public nint Window; } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Vk.cs b/src/Vulkan/Silk.NET.Vulkan/Vk.cs index ebeb77d9a6..025b2ba4ad 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Vk.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Vk.cs @@ -14,14 +14,26 @@ namespace Silk.NET.Vulkan { public partial class Vk { - public Instance? CurrentInstance { get; set; } - public Device? CurrentDevice { get; set; } + private Instance? _currentInstance; + private Device? _currentDevice; + private ConcurrentDictionary<(Instance?, Device?), IVTable> _vTables = new(); + public Instance? CurrentInstance + { + get => _currentInstance; + set => SwapVTable(_vTables.GetOrAdd((_currentInstance = value, _currentDevice), _ => VulkanCreateVTable())); + } + public Device? CurrentDevice + { + get => _currentDevice; + set => SwapVTable(_vTables.GetOrAdd((_currentInstance, _currentDevice = value), _ => VulkanCreateVTable())); + } public static Version32 Version10 => new Version32(1, 0, 0); public static Version32 Version11 => new Version32(1, 1, 0); public static Version32 Version12 => new Version32(1, 2, 0); public static Version32 MakeVersion (uint major, uint minor, uint patch = 0) => new Version32(major, minor, patch); + public static Vk GetApi() { @@ -37,7 +49,7 @@ public static Vk GetApi() return default; } - IntPtr ptr = default; + nint ptr = default; ptr = ret.GetInstanceProcAddr(ret.CurrentInstance.GetValueOrDefault(), x); if (ptr != default) { @@ -67,7 +79,7 @@ public static unsafe Vk GetApi(ref InstanceCreateInfo info, out Instance instanc return default; } - IntPtr ptr = default; + nint ptr = default; ptr = ret.GetInstanceProcAddr(ret.CurrentInstance.GetValueOrDefault(), x); if (ptr != default) { @@ -104,7 +116,7 @@ public static Vk GetApi(ref InstanceCreateInfo info, ref AllocationCallbacks cal return default; } - IntPtr ptr = default; + nint ptr = default; ptr = ret.GetInstanceProcAddr(ret.CurrentInstance.GetValueOrDefault(), x); if (ptr != default) { @@ -121,6 +133,11 @@ public static Vk GetApi(ref InstanceCreateInfo info, ref AllocationCallbacks cal return ret; } + protected override void PostInit() + { + _vTables.TryAdd(default, CurrentVTable); + } + /// /// Attempts to load the given instance extension. /// @@ -195,7 +212,7 @@ public unsafe bool IsInstanceExtensionPresent(string extension) cachedInstanceExtensions = new HashSet(); for (var p = 0; p < instanceExtPropertiesCount; p++) { - cachedInstanceExtensions.Add(Marshal.PtrToStringAnsi((IntPtr) props[p].ExtensionName)); + cachedInstanceExtensions.Add(Marshal.PtrToStringAnsi((nint) props[p].ExtensionName)); } // Thread-safe, only one initialisation will actually succeed. @@ -267,7 +284,7 @@ public unsafe bool IsDeviceExtensionPresent(PhysicalDevice device, string extens for (int j = 0; j < deviceExtPropertiesCount; j++) { // Prefix the extension name - var newKey = prefix_sep + Marshal.PtrToStringAnsi((IntPtr) props[j].ExtensionName); + var newKey = prefix_sep + Marshal.PtrToStringAnsi((nint) props[j].ExtensionName); _cachedDeviceExtensions.Add(newKey); if (!result && string.Equals(newKey, fullKey)) { @@ -299,7 +316,7 @@ public unsafe bool IsDeviceExtensionPresent(PhysicalDevice device, string extens public unsafe bool IsDeviceExtensionPresent(Instance instance, string extension, out PhysicalDevice device) { device = GetPhysicalDevices(instance).FirstOrDefault(pd => IsDeviceExtensionPresent(pd, extension)); - return device.Handle != IntPtr.Zero; + return device.Handle != 0; } /// @@ -345,5 +362,12 @@ public void PurgeExtensionCache() _cachedDeviceExtensionsLock.ExitWriteLock(); } } + + private IVTable VulkanCreateVTable() + { + var ret = CreateVTable(); + ret.Initialize(Context, CoreGetSlotCount()); + return ret; + } } } diff --git a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs index 4683d4bfdb..01b32ada1f 100644 --- a/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs @@ -1268,34 +1268,42 @@ public unsafe partial class Vk : NativeAPI public partial Result CreateDescriptorSetLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in DescriptorSetLayoutCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorSetLayout pSetLayout); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Device pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Device pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DeviceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DeviceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Device pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public unsafe partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DeviceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] [NativeApi(EntryPoint = "vkCreateDevice")] public partial Result CreateDevice([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] in DeviceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Device pDevice); @@ -1492,34 +1500,42 @@ public unsafe partial class Vk : NativeAPI public partial Result CreateImageView([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] in ImageViewCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out ImageView pView); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Instance pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Instance pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Instance pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public unsafe partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance); /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] [NativeApi(EntryPoint = "vkCreateInstance")] public partial Result CreateInstance([Count(Count = 0), Flow(FlowDirection.In)] in InstanceCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] in AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out Instance pInstance); @@ -2261,27 +2277,27 @@ public unsafe partial class Vk : NativeAPI /// To be documented. [NativeApi(EntryPoint = "vkGetPipelineCacheData")] - public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] void* pData); + public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetPipelineCacheData")] - public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; + public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetPipelineCacheData")] - public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] ref UIntPtr pDataSize, [Count(Computed = "pDataSize")] void* pData); + public unsafe partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] ref nuint pDataSize, [Count(Computed = "pDataSize")] void* pData); /// To be documented. [NativeApi(EntryPoint = "vkGetPipelineCacheData")] - public partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] ref UIntPtr pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; + public partial Result GetPipelineCacheData([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] ref nuint pDataSize, [Count(Computed = "pDataSize")] ref T0 pData) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetQueryPoolResults")] - public unsafe partial Result GetQueryPoolResults([Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags); + public unsafe partial Result GetQueryPoolResults([Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] void* pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags); /// To be documented. [NativeApi(EntryPoint = "vkGetQueryPoolResults")] - public partial Result GetQueryPoolResults([Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags) where T0 : unmanaged; + public partial Result GetQueryPoolResults([Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] ref T0 pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags) where T0 : unmanaged; /// To be documented. [NativeApi(EntryPoint = "vkGetRenderAreaGranularity")] diff --git a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs index f9a642e3d0..75f6cb2f71 100644 --- a/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs +++ b/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs @@ -1377,6 +1377,7 @@ public static unsafe Result CreateDescriptorSetLayout(this Vk thisApi, [Count(Co } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDevice) { // SpanOverloader @@ -1384,6 +1385,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice) { // SpanOverloader @@ -1391,6 +1393,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] DeviceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDevice) { // SpanOverloader @@ -1398,6 +1401,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice) { // SpanOverloader @@ -1405,6 +1409,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDevice) { // SpanOverloader @@ -1412,6 +1417,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Device* pDevice) { // SpanOverloader @@ -1419,6 +1425,7 @@ public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] Phy } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentDevice = *%$PARAM(pDevice)$%; }")] public static unsafe Result CreateDevice(this Vk thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pDevice) { // SpanOverloader @@ -1720,6 +1727,7 @@ public static unsafe Result CreateImageView(this Vk thisApi, [Count(Count = 0)] } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pInstance) { // SpanOverloader @@ -1727,6 +1735,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance) { // SpanOverloader @@ -1734,6 +1743,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] InstanceCreateInfo* pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pInstance) { // SpanOverloader @@ -1741,6 +1751,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance) { // SpanOverloader @@ -1748,6 +1759,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks* pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pInstance) { // SpanOverloader @@ -1755,6 +1767,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Instance* pInstance) { // SpanOverloader @@ -1762,6 +1775,7 @@ public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), F } /// To be documented. + [Inject((SilkTouchStage) 6, "if (%$RESULT$% == Result.Success) { CurrentInstance = *%$PARAM(pInstance)$%; }")] public static unsafe Result CreateInstance(this Vk thisApi, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span pInstance) { // SpanOverloader @@ -2644,28 +2658,28 @@ public static unsafe void GetPhysicalDeviceSparseImageFormatProperties(this Vk t } /// To be documented. - public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] UIntPtr* pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] nuint* pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetPipelineCacheData(device, pipelineCache, pDataSize, ref pData.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] void* pData) + public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] void* pData) { // SpanOverloader return thisApi.GetPipelineCacheData(device, pipelineCache, ref pDataSize.GetPinnableReference(), pData); } /// To be documented. - public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged + public static unsafe Result GetPipelineCacheData(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] Span pDataSize, [Count(Computed = "pDataSize")] Span pData) where T0 : unmanaged { // SpanOverloader return thisApi.GetPipelineCacheData(device, pipelineCache, ref pDataSize.GetPinnableReference(), ref pData.GetPinnableReference()); } /// To be documented. - public static unsafe Result GetQueryPoolResults(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] UIntPtr dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags) where T0 : unmanaged + public static unsafe Result GetQueryPoolResults(this Vk thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] QueryPool queryPool, [Count(Count = 0)] uint firstQuery, [Count(Count = 0)] uint queryCount, [Count(Count = 0)] nuint dataSize, [Count(Computed = "dataSize")] Span pData, [Count(Count = 0)] ulong stride, [Count(Count = 0)] QueryResultFlags flags) where T0 : unmanaged { // SpanOverloader return thisApi.GetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, ref pData.GetPinnableReference(), stride, flags); diff --git a/src/Windowing/Android/Silk.NET.Windowing.Sdl.Android/Additions/SilkActivity.cs b/src/Windowing/Android/Silk.NET.Windowing.Sdl.Android/Additions/SilkActivity.cs index 2876453e8e..53afe47789 100644 --- a/src/Windowing/Android/Silk.NET.Windowing.Sdl.Android/Additions/SilkActivity.cs +++ b/src/Windowing/Android/Silk.NET.Windowing.Sdl.Android/Additions/SilkActivity.cs @@ -26,7 +26,7 @@ public abstract class SilkActivity : SDLActivity internal static MainFunc CurrentMain { get; private set; } [DllImport("libmain.so", EntryPoint = "sdSetMain")] - internal static extern void SetupMain(IntPtr funcPtr); + internal static extern void SetupMain(nint funcPtr); static SilkActivity() { diff --git a/src/Windowing/Silk.NET.GLFW/Glfw.cs b/src/Windowing/Silk.NET.GLFW/Glfw.cs index 2122d40194..d4252044f5 100644 --- a/src/Windowing/Silk.NET.GLFW/Glfw.cs +++ b/src/Windowing/Silk.NET.GLFW/Glfw.cs @@ -399,7 +399,7 @@ public static void ThrowExceptions() /// Possible errors include . /// /// - public unsafe partial void SetMonitorUserPointer(Monitor* monitor, IntPtr pointer); + public unsafe partial void SetMonitorUserPointer(Monitor* monitor, nint pointer); /// /// @@ -420,7 +420,7 @@ public static void ThrowExceptions() /// Possible errors include . /// /// - public unsafe partial IntPtr GetMonitorUserPointer(Monitor* monitor); + public unsafe partial nint GetMonitorUserPointer(Monitor* monitor); /// /// @@ -1494,7 +1494,7 @@ out int bottom /// Possible errors include . /// /// - public partial void SetJoystickUserPointer(int jid, IntPtr ptr); + public partial void SetJoystickUserPointer(int jid, nint ptr); /// /// @@ -1515,7 +1515,7 @@ out int bottom /// Possible errors include . /// /// - public partial IntPtr GetJoystickUserPointer(int jid); + public partial nint GetJoystickUserPointer(int jid); /// /// @@ -3745,7 +3745,7 @@ public unsafe partial GlfwCallbacks.WindowRefreshCallback SetWindowRefreshCallba /// /// The ASCII encoded name of the function. /// The address of the function, or null if an error occurred. - public unsafe partial IntPtr GetInstanceProcAddress(VkHandle instance, byte* procName); + public unsafe partial nint GetInstanceProcAddress(VkHandle instance, byte* procName); /// /// Returns whether the specified queue family can present images. @@ -3885,7 +3885,7 @@ public unsafe partial int CreateWindowSurface /// /// The ASCII encoded name of the function. /// The address of the function, or IntPtr.Zero if an error occurred. - public partial IntPtr GetProcAddress(string name); + public partial nint GetProcAddress(string name); /// Retrieves the work area of the monitor. /// diff --git a/src/Windowing/Silk.NET.GLFW/GlfwCallbacks.cs b/src/Windowing/Silk.NET.GLFW/GlfwCallbacks.cs index ad14c1b3ee..302796278b 100644 --- a/src/Windowing/Silk.NET.GLFW/GlfwCallbacks.cs +++ b/src/Windowing/Silk.NET.GLFW/GlfwCallbacks.cs @@ -54,7 +54,7 @@ public static unsafe class GlfwCallbacks /// The number of dropped files. /// The UTF-8 encoded file and/or directory path names. /// - public delegate void DropCallback(WindowHandle* window, int count, IntPtr paths); + public delegate void DropCallback(WindowHandle* window, int count, nint paths); /// /// The function signature for error callback functions. diff --git a/src/Windowing/Silk.NET.GLFW/GlfwContext.cs b/src/Windowing/Silk.NET.GLFW/GlfwContext.cs index b55a38b524..2231754952 100644 --- a/src/Windowing/Silk.NET.GLFW/GlfwContext.cs +++ b/src/Windowing/Silk.NET.GLFW/GlfwContext.cs @@ -30,10 +30,10 @@ public unsafe GlfwContext(Glfw glfw, WindowHandle* window, IGLContextSource? sou } /// - public IntPtr GetProcAddress(string proc, int? slot = default) => _glfw.GetProcAddress(proc); + public nint GetProcAddress(string proc, int? slot = default) => _glfw.GetProcAddress(proc); /// - public unsafe IntPtr Handle => (IntPtr) _window; + public unsafe nint Handle => (nint) _window; /// public IGLContextSource? Source { get; } diff --git a/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj b/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj index 0f910793a6..b88213bfa8 100644 --- a/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj +++ b/src/Windowing/Silk.NET.GLFW/Silk.NET.GLFW.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Windowing/Silk.NET.SDL/Enums/GameControllerAxis.gen.cs b/src/Windowing/Silk.NET.SDL/Enums/GameControllerAxis.gen.cs index 21e9d225c0..5d8562f9b5 100644 --- a/src/Windowing/Silk.NET.SDL/Enums/GameControllerAxis.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Enums/GameControllerAxis.gen.cs @@ -16,7 +16,7 @@ namespace Silk.NET.SDL public enum GameControllerAxis : int { [NativeName("Name", "SDL_CONTROLLER_AXIS_INVALID")] - ControllerAxisInvalid = unchecked((int)0xFFFFFFFFFFFFFFFF), + ControllerAxisInvalid = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "SDL_CONTROLLER_AXIS_LEFTX")] ControllerAxisLeftx = 0x0, [NativeName("Name", "SDL_CONTROLLER_AXIS_LEFTY")] diff --git a/src/Windowing/Silk.NET.SDL/Enums/GameControllerButton.gen.cs b/src/Windowing/Silk.NET.SDL/Enums/GameControllerButton.gen.cs index 6f8785180f..9424e437ca 100644 --- a/src/Windowing/Silk.NET.SDL/Enums/GameControllerButton.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Enums/GameControllerButton.gen.cs @@ -16,7 +16,7 @@ namespace Silk.NET.SDL public enum GameControllerButton : int { [NativeName("Name", "SDL_CONTROLLER_BUTTON_INVALID")] - ControllerButtonInvalid = unchecked((int)0xFFFFFFFFFFFFFFFF), + ControllerButtonInvalid = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "SDL_CONTROLLER_BUTTON_A")] ControllerButtonA = 0x0, [NativeName("Name", "SDL_CONTROLLER_BUTTON_B")] diff --git a/src/Windowing/Silk.NET.SDL/Enums/JoystickPowerLevel.gen.cs b/src/Windowing/Silk.NET.SDL/Enums/JoystickPowerLevel.gen.cs index 1639eea61e..53993ee61e 100644 --- a/src/Windowing/Silk.NET.SDL/Enums/JoystickPowerLevel.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Enums/JoystickPowerLevel.gen.cs @@ -16,7 +16,7 @@ namespace Silk.NET.SDL public enum JoystickPowerLevel : int { [NativeName("Name", "SDL_JOYSTICK_POWER_UNKNOWN")] - JoystickPowerUnknown = unchecked((int)0xFFFFFFFFFFFFFFFF), + JoystickPowerUnknown = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "SDL_JOYSTICK_POWER_EMPTY")] JoystickPowerEmpty = 0x0, [NativeName("Name", "SDL_JOYSTICK_POWER_LOW")] diff --git a/src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs b/src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs index c831861b3d..12d1892c74 100644 --- a/src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs @@ -16,7 +16,7 @@ namespace Silk.NET.SDL public enum SensorType : int { [NativeName("Name", "SDL_SENSOR_INVALID")] - SensorInvalid = unchecked((int)0xFFFFFFFFFFFFFFFF), + SensorInvalid = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "SDL_SENSOR_UNKNOWN")] SensorUnknown = 0x0, [NativeName("Name", "SDL_SENSOR_ACCEL")] diff --git a/src/Windowing/Silk.NET.SDL/Enums/TouchDeviceType.gen.cs b/src/Windowing/Silk.NET.SDL/Enums/TouchDeviceType.gen.cs index 148f65d5de..99c11658d0 100644 --- a/src/Windowing/Silk.NET.SDL/Enums/TouchDeviceType.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Enums/TouchDeviceType.gen.cs @@ -16,7 +16,7 @@ namespace Silk.NET.SDL public enum TouchDeviceType : int { [NativeName("Name", "SDL_TOUCH_DEVICE_INVALID")] - TouchDeviceInvalid = unchecked((int)0xFFFFFFFFFFFFFFFF), + TouchDeviceInvalid = unchecked((int) 0xFFFFFFFFFFFFFFFF), [NativeName("Name", "SDL_TOUCH_DEVICE_DIRECT")] TouchDeviceDirect = 0x0, [NativeName("Name", "SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE")] diff --git a/src/Windowing/Silk.NET.SDL/Sdl.SysWM.cs b/src/Windowing/Silk.NET.SDL/Sdl.SysWM.cs index 69b6b55d5f..6905192ff3 100644 --- a/src/Windowing/Silk.NET.SDL/Sdl.SysWM.cs +++ b/src/Windowing/Silk.NET.SDL/Sdl.SysWM.cs @@ -35,16 +35,16 @@ public struct SysWMMsg public struct SysWMMsgWindows { - public IntPtr hwnd; + public nint hwnd; /**< The window for the message */ public uint Msg; /**< The type of message */ - public UIntPtr WParam; + public nuint WParam; /**< WORD message parameter */ - public IntPtr LParam; /**< LONG message parameter */ + public nint LParam; /**< LONG message parameter */ } public struct SysWMMsgX11 @@ -154,13 +154,13 @@ public struct SysWMInfoMir public struct SysWMInfoWindows { - public IntPtr Hwnd; + public nint Hwnd; /**< The window handle */ - public IntPtr HDC; + public nint HDC; /**< The window device context */ - public IntPtr HInstance; /**< The instance handle */ + public nint HInstance; /**< The instance handle */ } public struct SysWMInfoVivante diff --git a/src/Windowing/Silk.NET.SDL/Sdl.gen.cs b/src/Windowing/Silk.NET.SDL/Sdl.gen.cs index 09c4e2f9c4..1c0549e00c 100644 --- a/src/Windowing/Silk.NET.SDL/Sdl.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Sdl.gen.cs @@ -18,6 +18,26 @@ namespace Silk.NET.SDL { public unsafe partial class Sdl : NativeAPI { + /* Function prototypes */ + /** + * \brief This function allows access to driver-dependent window information. + * + * \param window The window about which information is being requested + * \param info This structure must be initialized with the SDL version, and is + * then filled in with information about the given window. + * + * \return SDL_TRUE if the function is implemented and the version member of + * the \c info struct is valid, SDL_FALSE otherwise. + * + * You typically use this function like this: + * \code + * SDL_SysWMinfo info; + * SDL_VERSION(&info.version); + * if ( SDL_GetWindowWMInfo(window, &info) ) { ... } + * \endcode + */ + [NativeApi(EntryPoint = "SDL_GetWindowWMInfo")] + public unsafe partial bool GetWindowWMInfo(Window* window, SysWMInfo* info); /// To be documented. [NativeName("Src", "Line 188, Column 38 in build/submodules/SDL-mirror/include/SDL_platform.h")] @@ -14702,8 +14722,8 @@ public unsafe partial class Sdl : NativeAPI // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14714,8 +14734,8 @@ public unsafe string StrtokrS(byte* s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14726,8 +14746,8 @@ public unsafe string StrtokrS(byte* s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14738,8 +14758,8 @@ public unsafe string StrtokrS(byte* s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14750,8 +14770,8 @@ public unsafe string StrtokrS(byte* s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14762,8 +14782,8 @@ public unsafe string StrtokrS(byte* s1, string s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14774,8 +14794,8 @@ public unsafe string StrtokrS(byte* s1, string s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(ref s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14786,8 +14806,8 @@ public unsafe string StrtokrS(ref byte s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(ref s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14798,8 +14818,8 @@ public unsafe string StrtokrS(ref byte s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(ref s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14810,8 +14830,8 @@ public unsafe string StrtokrS(ref byte s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(ref s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14822,8 +14842,8 @@ public unsafe string StrtokrS(ref byte s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(ref s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14834,8 +14854,8 @@ public unsafe string StrtokrS(ref byte s1, string s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(ref s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14846,8 +14866,8 @@ public unsafe string StrtokrS(ref byte s1, string s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14858,8 +14878,8 @@ public unsafe string StrtokrS(string s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14870,8 +14890,8 @@ public unsafe string StrtokrS(string s1, byte* s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14882,8 +14902,8 @@ public unsafe string StrtokrS(string s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, ref s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14894,8 +14914,8 @@ public unsafe string StrtokrS(string s1, ref byte s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = Strtokr(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14906,8 +14926,8 @@ public unsafe string StrtokrS(string s1, string s2, string[] saveptrSa) // StringArrayOverloader var saveptr = (byte**) SilkMarshal.StringArrayToPtr(saveptrSa); var ret = StrtokrS(s1, s2, saveptr); - SilkMarshal.CopyPtrToStringArray((IntPtr) saveptr, saveptrSa); - SilkMarshal.Free((IntPtr) saveptr); + SilkMarshal.CopyPtrToStringArray((nint) saveptr, saveptrSa); + SilkMarshal.Free((nint) saveptr); return ret; } @@ -14918,8 +14938,8 @@ public unsafe int Strtol(byte* str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtol(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14930,8 +14950,8 @@ public unsafe int Strtol(ref byte str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtol(ref str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14942,8 +14962,8 @@ public unsafe int Strtol(string str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtol(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14954,8 +14974,8 @@ public unsafe uint Strtoul(byte* str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoul(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14966,8 +14986,8 @@ public unsafe uint Strtoul(ref byte str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoul(ref str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14978,8 +14998,8 @@ public unsafe uint Strtoul(string str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoul(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -14990,8 +15010,8 @@ public unsafe long Strtoll(byte* str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoll(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15002,8 +15022,8 @@ public unsafe long Strtoll(ref byte str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoll(ref str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15014,8 +15034,8 @@ public unsafe long Strtoll(string str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoll(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15026,8 +15046,8 @@ public unsafe ulong Strtoull(byte* str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoull(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15038,8 +15058,8 @@ public unsafe ulong Strtoull(ref byte str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoull(ref str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15050,8 +15070,8 @@ public unsafe ulong Strtoull(string str, string[] endpSa, int @base) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtoull(str, endp, @base); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15062,8 +15082,8 @@ public unsafe double Strtod(byte* str, string[] endpSa) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtod(str, endp); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15074,8 +15094,8 @@ public unsafe double Strtod(ref byte str, string[] endpSa) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtod(ref str, endp); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15086,8 +15106,8 @@ public unsafe double Strtod(string str, string[] endpSa) // StringArrayOverloader var endp = (byte**) SilkMarshal.StringArrayToPtr(endpSa); var ret = Strtod(str, endp); - SilkMarshal.CopyPtrToStringArray((IntPtr) endp, endpSa); - SilkMarshal.Free((IntPtr) endp); + SilkMarshal.CopyPtrToStringArray((nint) endp, endpSa); + SilkMarshal.Free((nint) endp); return ret; } @@ -15099,10 +15119,10 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, uint* inbytesleft, string[] var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15114,10 +15134,10 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, uint* inbytesleft, string[] var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, inbuf, inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15128,8 +15148,8 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, uint* inbytesleft, ref byte // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(cd, inbuf, inbytesleft, ref outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15140,8 +15160,8 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, uint* inbytesleft, ref byte // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(cd, inbuf, inbytesleft, ref outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15153,10 +15173,10 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, ref uint inbytesleft, strin var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, inbuf, ref inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15168,10 +15188,10 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, ref uint inbytesleft, strin var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, inbuf, ref inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15182,8 +15202,8 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, ref uint inbytesleft, ref b // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(cd, inbuf, ref inbytesleft, ref outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15194,8 +15214,8 @@ public unsafe uint Iconv(Icon* cd, string[] inbufSa, ref uint inbytesleft, ref b // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(cd, inbuf, ref inbytesleft, ref outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15206,8 +15226,8 @@ public unsafe uint Iconv(Icon* cd, ref byte* inbuf, uint* inbytesleft, string[] // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, ref inbuf, inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15218,8 +15238,8 @@ public unsafe uint Iconv(Icon* cd, ref byte* inbuf, uint* inbytesleft, string[] // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, ref inbuf, inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15230,8 +15250,8 @@ public unsafe uint Iconv(Icon* cd, ref byte* inbuf, ref uint inbytesleft, string // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, ref inbuf, ref inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15242,8 +15262,8 @@ public unsafe uint Iconv(Icon* cd, ref byte* inbuf, ref uint inbytesleft, string // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(cd, ref inbuf, ref inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15255,10 +15275,10 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, uint* inbytesleft, strin var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, inbuf, inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15270,10 +15290,10 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, uint* inbytesleft, strin var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, inbuf, inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15284,8 +15304,8 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, uint* inbytesleft, ref b // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(ref cd, inbuf, inbytesleft, ref outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15296,8 +15316,8 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, uint* inbytesleft, ref b // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(ref cd, inbuf, inbytesleft, ref outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15309,10 +15329,10 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, ref uint inbytesleft, st var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, inbuf, ref inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15324,10 +15344,10 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, ref uint inbytesleft, st var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, inbuf, ref inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15338,8 +15358,8 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, ref uint inbytesleft, re // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(ref cd, inbuf, ref inbytesleft, ref outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15350,8 +15370,8 @@ public unsafe uint Iconv(ref Icon cd, string[] inbufSa, ref uint inbytesleft, re // StringArrayOverloader var inbuf = (byte**) SilkMarshal.StringArrayToPtr(inbufSa); var ret = Iconv(ref cd, inbuf, ref inbytesleft, ref outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) inbuf, inbufSa); - SilkMarshal.Free((IntPtr) inbuf); + SilkMarshal.CopyPtrToStringArray((nint) inbuf, inbufSa); + SilkMarshal.Free((nint) inbuf); return ret; } @@ -15362,8 +15382,8 @@ public unsafe uint Iconv(ref Icon cd, ref byte* inbuf, uint* inbytesleft, string // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, ref inbuf, inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15374,8 +15394,8 @@ public unsafe uint Iconv(ref Icon cd, ref byte* inbuf, uint* inbytesleft, string // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, ref inbuf, inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15386,8 +15406,8 @@ public unsafe uint Iconv(ref Icon cd, ref byte* inbuf, ref uint inbytesleft, str // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, ref inbuf, ref inbytesleft, outbuf, outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15398,8 +15418,8 @@ public unsafe uint Iconv(ref Icon cd, ref byte* inbuf, ref uint inbytesleft, str // StringArrayOverloader var outbuf = (byte**) SilkMarshal.StringArrayToPtr(outbufSa); var ret = Iconv(ref cd, ref inbuf, ref inbytesleft, outbuf, ref outbytesleft); - SilkMarshal.CopyPtrToStringArray((IntPtr) outbuf, outbufSa); - SilkMarshal.Free((IntPtr) outbuf); + SilkMarshal.CopyPtrToStringArray((nint) outbuf, outbufSa); + SilkMarshal.Free((nint) outbuf); return ret; } @@ -15410,8 +15430,8 @@ public unsafe SdlBool VulkanGetInstanceExtensions(Window* window, uint* pCount, // StringArrayOverloader var pNames = (byte**) SilkMarshal.StringArrayToPtr(pNamesSa); var ret = VulkanGetInstanceExtensions(window, pCount, pNames); - SilkMarshal.CopyPtrToStringArray((IntPtr) pNames, pNamesSa); - SilkMarshal.Free((IntPtr) pNames); + SilkMarshal.CopyPtrToStringArray((nint) pNames, pNamesSa); + SilkMarshal.Free((nint) pNames); return ret; } @@ -15422,8 +15442,8 @@ public unsafe SdlBool VulkanGetInstanceExtensions(Window* window, ref uint pCoun // StringArrayOverloader var pNames = (byte**) SilkMarshal.StringArrayToPtr(pNamesSa); var ret = VulkanGetInstanceExtensions(window, ref pCount, pNames); - SilkMarshal.CopyPtrToStringArray((IntPtr) pNames, pNamesSa); - SilkMarshal.Free((IntPtr) pNames); + SilkMarshal.CopyPtrToStringArray((nint) pNames, pNamesSa); + SilkMarshal.Free((nint) pNames); return ret; } @@ -15434,8 +15454,8 @@ public unsafe SdlBool VulkanGetInstanceExtensions(ref Window window, uint* pCoun // StringArrayOverloader var pNames = (byte**) SilkMarshal.StringArrayToPtr(pNamesSa); var ret = VulkanGetInstanceExtensions(ref window, pCount, pNames); - SilkMarshal.CopyPtrToStringArray((IntPtr) pNames, pNamesSa); - SilkMarshal.Free((IntPtr) pNames); + SilkMarshal.CopyPtrToStringArray((nint) pNames, pNamesSa); + SilkMarshal.Free((nint) pNames); return ret; } @@ -15446,8 +15466,8 @@ public unsafe SdlBool VulkanGetInstanceExtensions(ref Window window, ref uint pC // StringArrayOverloader var pNames = (byte**) SilkMarshal.StringArrayToPtr(pNamesSa); var ret = VulkanGetInstanceExtensions(ref window, ref pCount, pNames); - SilkMarshal.CopyPtrToStringArray((IntPtr) pNames, pNamesSa); - SilkMarshal.Free((IntPtr) pNames); + SilkMarshal.CopyPtrToStringArray((nint) pNames, pNamesSa); + SilkMarshal.Free((nint) pNames); return ret; } @@ -15458,8 +15478,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var argv = (byte**) SilkMarshal.StringArrayToPtr(argvSa); var ret = UIKitRunApp(argc, argv, mainFunction); - SilkMarshal.CopyPtrToStringArray((IntPtr) argv, argvSa); - SilkMarshal.Free((IntPtr) argv); + SilkMarshal.CopyPtrToStringArray((nint) argv, argvSa); + SilkMarshal.Free((nint) argv); return ret; } @@ -15470,8 +15490,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(src, freesrc, spec, audio_buf, audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15482,8 +15502,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(src, freesrc, spec, audio_buf, ref audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15494,8 +15514,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(src, freesrc, ref spec, audio_buf, audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15506,8 +15526,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(src, freesrc, ref spec, audio_buf, ref audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15518,8 +15538,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(ref src, freesrc, spec, audio_buf, audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15530,8 +15550,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(ref src, freesrc, spec, audio_buf, ref audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15542,8 +15562,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(ref src, freesrc, ref spec, audio_buf, audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } @@ -15554,8 +15574,8 @@ public unsafe int UIKitRunApp(int argc, string[] argvSa, PfnMainFunc mainFunctio // StringArrayOverloader var audio_buf = (byte**) SilkMarshal.StringArrayToPtr(audio_bufSa); var ret = LoadWAVRW(ref src, freesrc, ref spec, audio_buf, ref audio_len); - SilkMarshal.CopyPtrToStringArray((IntPtr) audio_buf, audio_bufSa); - SilkMarshal.Free((IntPtr) audio_buf); + SilkMarshal.CopyPtrToStringArray((nint) audio_buf, audio_bufSa); + SilkMarshal.Free((nint) audio_buf); return ret; } diff --git a/src/Windowing/Silk.NET.SDL/SdlContext.cs b/src/Windowing/Silk.NET.SDL/SdlContext.cs index 14ab27b3a1..5e305903b7 100644 --- a/src/Windowing/Silk.NET.SDL/SdlContext.cs +++ b/src/Windowing/Silk.NET.SDL/SdlContext.cs @@ -101,19 +101,19 @@ public void Dispose() } /// - public IntPtr GetProcAddress(string proc, int? slot = default) + public nint GetProcAddress(string proc, int? slot = default) { AssertCreated(); - return (IntPtr) _sdl.GLGetProcAddress(proc); + return (nint) _sdl.GLGetProcAddress(proc); } /// - public IntPtr Handle + public nint Handle { get { AssertCreated(); - return (IntPtr) _ctx; + return (nint) _ctx; } } diff --git a/src/Windowing/Silk.NET.SDL/Silk.NET.SDL.csproj b/src/Windowing/Silk.NET.SDL/Silk.NET.SDL.csproj index eb14ae992b..0774f78d6f 100644 --- a/src/Windowing/Silk.NET.SDL/Silk.NET.SDL.csproj +++ b/src/Windowing/Silk.NET.SDL/Silk.NET.SDL.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnAssertionHandler.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnAssertionHandler.gen.cs index 1176b7bef8..2bc525a1d3 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnAssertionHandler.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnAssertionHandler.gen.cs @@ -33,10 +33,10 @@ AssertionHandler proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnAssertionHandler From(AssertionHandler proc) => new PfnAssertionHandler(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnAssertionHandler pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnAssertionHandler(IntPtr pfn) + public static implicit operator nint(PfnAssertionHandler pfn) => (nint) pfn.Handle; + public static explicit operator PfnAssertionHandler(nint pfn) => new PfnAssertionHandler((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnAssertionHandler(AssertionHandler proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnAudioCallback.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnAudioCallback.gen.cs index 4ccb25706c..21ce12de24 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnAudioCallback.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnAudioCallback.gen.cs @@ -33,10 +33,10 @@ AudioCallback proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnAudioCallback From(AudioCallback proc) => new PfnAudioCallback(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnAudioCallback pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnAudioCallback(IntPtr pfn) + public static implicit operator nint(PfnAudioCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnAudioCallback(nint pfn) => new PfnAudioCallback((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnAudioCallback(AudioCallback proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnAudioFilter.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnAudioFilter.gen.cs index e9672f85f8..79212fdad7 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnAudioFilter.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnAudioFilter.gen.cs @@ -33,10 +33,10 @@ AudioFilter proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnAudioFilter From(AudioFilter proc) => new PfnAudioFilter(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnAudioFilter pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnAudioFilter(IntPtr pfn) + public static implicit operator nint(PfnAudioFilter pfn) => (nint) pfn.Handle; + public static explicit operator PfnAudioFilter(nint pfn) => new PfnAudioFilter((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnAudioFilter(AudioFilter proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnCallocFunc.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnCallocFunc.gen.cs index 554a379149..25cc802231 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnCallocFunc.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnCallocFunc.gen.cs @@ -33,10 +33,10 @@ CallocFunc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnCallocFunc From(CallocFunc proc) => new PfnCallocFunc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnCallocFunc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnCallocFunc(IntPtr pfn) + public static implicit operator nint(PfnCallocFunc pfn) => (nint) pfn.Handle; + public static explicit operator PfnCallocFunc(nint pfn) => new PfnCallocFunc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnCallocFunc(CallocFunc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnEventFilter.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnEventFilter.gen.cs index 72ed4bc3fa..9ebf0f8dfc 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnEventFilter.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnEventFilter.gen.cs @@ -33,10 +33,10 @@ EventFilter proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnEventFilter From(EventFilter proc) => new PfnEventFilter(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnEventFilter pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnEventFilter(IntPtr pfn) + public static implicit operator nint(PfnEventFilter pfn) => (nint) pfn.Handle; + public static explicit operator PfnEventFilter(nint pfn) => new PfnEventFilter((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnEventFilter(EventFilter proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnFreeFunc.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnFreeFunc.gen.cs index 989b76a5aa..3d17bb3225 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnFreeFunc.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnFreeFunc.gen.cs @@ -33,10 +33,10 @@ FreeFunc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnFreeFunc From(FreeFunc proc) => new PfnFreeFunc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnFreeFunc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnFreeFunc(IntPtr pfn) + public static implicit operator nint(PfnFreeFunc pfn) => (nint) pfn.Handle; + public static explicit operator PfnFreeFunc(nint pfn) => new PfnFreeFunc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnFreeFunc(FreeFunc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnHintCallback.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnHintCallback.gen.cs index 74b876b984..78533f2a0a 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnHintCallback.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnHintCallback.gen.cs @@ -33,10 +33,10 @@ HintCallback proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnHintCallback From(HintCallback proc) => new PfnHintCallback(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnHintCallback pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnHintCallback(IntPtr pfn) + public static implicit operator nint(PfnHintCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnHintCallback(nint pfn) => new PfnHintCallback((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnHintCallback(HintCallback proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnHitTest.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnHitTest.gen.cs index 95f6294c46..0005539a27 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnHitTest.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnHitTest.gen.cs @@ -33,10 +33,10 @@ HitTest proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnHitTest From(HitTest proc) => new PfnHitTest(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnHitTest pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnHitTest(IntPtr pfn) + public static implicit operator nint(PfnHitTest pfn) => (nint) pfn.Handle; + public static explicit operator PfnHitTest(nint pfn) => new PfnHitTest((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnHitTest(HitTest proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnLogOutputFunction.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnLogOutputFunction.gen.cs index a046dec4fc..7e879650dd 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnLogOutputFunction.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnLogOutputFunction.gen.cs @@ -33,10 +33,10 @@ LogOutputFunction proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnLogOutputFunction From(LogOutputFunction proc) => new PfnLogOutputFunction(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnLogOutputFunction pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnLogOutputFunction(IntPtr pfn) + public static implicit operator nint(PfnLogOutputFunction pfn) => (nint) pfn.Handle; + public static explicit operator PfnLogOutputFunction(nint pfn) => new PfnLogOutputFunction((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnLogOutputFunction(LogOutputFunction proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnMainFunc.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnMainFunc.gen.cs index a5b6d2f631..73aca2af78 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnMainFunc.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnMainFunc.gen.cs @@ -33,10 +33,10 @@ MainFunc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnMainFunc From(MainFunc proc) => new PfnMainFunc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnMainFunc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnMainFunc(IntPtr pfn) + public static implicit operator nint(PfnMainFunc pfn) => (nint) pfn.Handle; + public static explicit operator PfnMainFunc(nint pfn) => new PfnMainFunc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnMainFunc(MainFunc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnMallocFunc.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnMallocFunc.gen.cs index 108c39fc9d..27c7d874f9 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnMallocFunc.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnMallocFunc.gen.cs @@ -33,10 +33,10 @@ MallocFunc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnMallocFunc From(MallocFunc proc) => new PfnMallocFunc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnMallocFunc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnMallocFunc(IntPtr pfn) + public static implicit operator nint(PfnMallocFunc pfn) => (nint) pfn.Handle; + public static explicit operator PfnMallocFunc(nint pfn) => new PfnMallocFunc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnMallocFunc(MallocFunc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnReallocFunc.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnReallocFunc.gen.cs index 795ccc6031..4db5871151 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnReallocFunc.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnReallocFunc.gen.cs @@ -33,10 +33,10 @@ ReallocFunc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnReallocFunc From(ReallocFunc proc) => new PfnReallocFunc(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnReallocFunc pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnReallocFunc(IntPtr pfn) + public static implicit operator nint(PfnReallocFunc pfn) => (nint) pfn.Handle; + public static explicit operator PfnReallocFunc(nint pfn) => new PfnReallocFunc((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnReallocFunc(ReallocFunc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentBeginThread.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentBeginThread.gen.cs index f1b0471797..499323d358 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentBeginThread.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentBeginThread.gen.cs @@ -33,10 +33,10 @@ SDLCurrentBeginThread proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnSDLCurrentBeginThread From(SDLCurrentBeginThread proc) => new PfnSDLCurrentBeginThread(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnSDLCurrentBeginThread pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnSDLCurrentBeginThread(IntPtr pfn) + public static implicit operator nint(PfnSDLCurrentBeginThread pfn) => (nint) pfn.Handle; + public static explicit operator PfnSDLCurrentBeginThread(nint pfn) => new PfnSDLCurrentBeginThread((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnSDLCurrentBeginThread(SDLCurrentBeginThread proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentEndThread.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentEndThread.gen.cs index ba4a373bfe..aaad8d3e71 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentEndThread.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnSDLCurrentEndThread.gen.cs @@ -33,10 +33,10 @@ SDLCurrentEndThread proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnSDLCurrentEndThread From(SDLCurrentEndThread proc) => new PfnSDLCurrentEndThread(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnSDLCurrentEndThread pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnSDLCurrentEndThread(IntPtr pfn) + public static implicit operator nint(PfnSDLCurrentEndThread pfn) => (nint) pfn.Handle; + public static explicit operator PfnSDLCurrentEndThread(nint pfn) => new PfnSDLCurrentEndThread((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnSDLCurrentEndThread(SDLCurrentEndThread proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnThreadFunction.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnThreadFunction.gen.cs index e0165ec425..251b1c4063 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnThreadFunction.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnThreadFunction.gen.cs @@ -33,10 +33,10 @@ ThreadFunction proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnThreadFunction From(ThreadFunction proc) => new PfnThreadFunction(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnThreadFunction pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnThreadFunction(IntPtr pfn) + public static implicit operator nint(PfnThreadFunction pfn) => (nint) pfn.Handle; + public static explicit operator PfnThreadFunction(nint pfn) => new PfnThreadFunction((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnThreadFunction(ThreadFunction proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnTimerCallback.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnTimerCallback.gen.cs index 7a3f63d08b..f3b44cb422 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnTimerCallback.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnTimerCallback.gen.cs @@ -33,10 +33,10 @@ TimerCallback proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnTimerCallback From(TimerCallback proc) => new PfnTimerCallback(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnTimerCallback pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnTimerCallback(IntPtr pfn) + public static implicit operator nint(PfnTimerCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnTimerCallback(nint pfn) => new PfnTimerCallback((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnTimerCallback(TimerCallback proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnVvUi.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnVvUi.gen.cs index f7d647437e..5041a0cb2c 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnVvUi.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnVvUi.gen.cs @@ -33,10 +33,10 @@ VvUiProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnVvUi From(VvUiProc proc) => new PfnVvUi(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnVvUi pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnVvUi(IntPtr pfn) + public static implicit operator nint(PfnVvUi pfn) => (nint) pfn.Handle; + public static explicit operator PfnVvUi(nint pfn) => new PfnVvUi((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnVvUi(VvUiProc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnVvVvI.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnVvVvI.gen.cs index 6c333e8670..3dcad1957b 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnVvVvI.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnVvVvI.gen.cs @@ -33,10 +33,10 @@ VvVvIProc proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnVvVvI From(VvVvIProc proc) => new PfnVvVvI(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnVvVvI pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnVvVvI(IntPtr pfn) + public static implicit operator nint(PfnVvVvI pfn) => (nint) pfn.Handle; + public static explicit operator PfnVvVvI(nint pfn) => new PfnVvVvI((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnVvVvI(VvVvIProc proc) diff --git a/src/Windowing/Silk.NET.SDL/Structs/PfnWindowsMessageHook.gen.cs b/src/Windowing/Silk.NET.SDL/Structs/PfnWindowsMessageHook.gen.cs index 831b1ccbf3..409bc09d06 100644 --- a/src/Windowing/Silk.NET.SDL/Structs/PfnWindowsMessageHook.gen.cs +++ b/src/Windowing/Silk.NET.SDL/Structs/PfnWindowsMessageHook.gen.cs @@ -33,10 +33,10 @@ WindowsMessageHook proc ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); public static PfnWindowsMessageHook From(WindowsMessageHook proc) => new PfnWindowsMessageHook(proc); - public void Dispose() => SilkMarshal.Free((IntPtr) _handle); + public void Dispose() => SilkMarshal.Free((nint) _handle); - public static implicit operator IntPtr(PfnWindowsMessageHook pfn) => (IntPtr) pfn.Handle; - public static explicit operator PfnWindowsMessageHook(IntPtr pfn) + public static implicit operator nint(PfnWindowsMessageHook pfn) => (nint) pfn.Handle; + public static explicit operator PfnWindowsMessageHook(nint pfn) => new PfnWindowsMessageHook((delegate* unmanaged[Cdecl]) pfn); public static implicit operator PfnWindowsMessageHook(WindowsMessageHook proc) diff --git a/src/Windowing/Silk.NET.Windowing.Common/Interfaces/IView.cs b/src/Windowing/Silk.NET.Windowing.Common/Interfaces/IView.cs index ef9fd4eddd..4e8b384ad7 100644 --- a/src/Windowing/Silk.NET.Windowing.Common/Interfaces/IView.cs +++ b/src/Windowing/Silk.NET.Windowing.Common/Interfaces/IView.cs @@ -17,7 +17,7 @@ public interface IView : IViewProperties, IGLContextSource, IVkSurfaceSource, ID /// /// A handle to the underlying window. /// - IntPtr Handle { get; } + nint Handle { get; } /// /// Determines whether the underlying platform has requested the window to close. diff --git a/src/Windowing/Silk.NET.Windowing.Common/Internals/ViewImplementationBase.cs b/src/Windowing/Silk.NET.Windowing.Common/Internals/ViewImplementationBase.cs index 10334335a4..ad8f6b61da 100644 --- a/src/Windowing/Silk.NET.Windowing.Common/Internals/ViewImplementationBase.cs +++ b/src/Windowing/Silk.NET.Windowing.Common/Internals/ViewImplementationBase.cs @@ -55,7 +55,7 @@ protected ViewImplementationBase(ViewOptions opts) // Property bases - these have extra functionality baked into their getters and setters protected abstract Vector2D CoreSize { get; } - protected abstract IntPtr CoreHandle { get; } + protected abstract nint CoreHandle { get; } // Function bases - again extra functionality on top protected abstract void CoreInitialize(ViewOptions opts); @@ -188,7 +188,7 @@ public void DoUpdate() // Misc properties protected bool IsInitialized { get; set; } public Vector2D Size => IsInitialized ? CoreSize : default; - public IntPtr Handle => IsInitialized ? CoreHandle : IntPtr.Zero; + public nint Handle => IsInitialized ? CoreHandle : 0; public GraphicsAPI API => _optionsCache.API; public double Time => _lifetimeStopwatch.Elapsed.TotalSeconds; public int? PreferredDepthBufferBits => _optionsCache.PreferredDepthBufferBits; diff --git a/src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs b/src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs index 4e096bca52..721fed5422 100644 --- a/src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs +++ b/src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs @@ -62,7 +62,7 @@ protected override unsafe Rectangle CoreBorderSize } } - protected override IntPtr CoreHandle => (IntPtr) _glfwWindow; + protected override nint CoreHandle => (nint) _glfwWindow; protected override void CoreReset() { @@ -523,7 +523,7 @@ public override void Dispose() GC.SuppressFinalize(this); } - public IntPtr GetProcAddress(string proc, int? slot = default) => _glfw.GetProcAddress(proc); + public nint GetProcAddress(string proc, int? slot = default) => _glfw.GetProcAddress(proc); public override void Close() { @@ -617,7 +617,7 @@ protected override void RegisterCallbacks() { var arrayOfPaths = new string[count]; - if (count == 0 || paths == IntPtr.Zero) + if (count == 0 || paths == 0) { return; } diff --git a/src/Windowing/Silk.NET.Windowing.Sdl/SdlView.cs b/src/Windowing/Silk.NET.Windowing.Sdl/SdlView.cs index 12454512b1..cf9e508c03 100644 --- a/src/Windowing/Silk.NET.Windowing.Sdl/SdlView.cs +++ b/src/Windowing/Silk.NET.Windowing.Sdl/SdlView.cs @@ -60,7 +60,7 @@ public SdlView(void* nativeHandle, IGLContext? ctx, SdlPlatform platform) : base : null; public override IVkSurface? VkSurface => _vk ??= API.API == ContextAPI.Vulkan ? new SdlVkSurface(this) : null; - protected override IntPtr CoreHandle => (IntPtr) SdlWindow; + protected override nint CoreHandle => (nint) SdlWindow; internal SDL.Sdl Sdl { get; } internal SDL.Window* SdlWindow { get; private set; } internal bool IsClosingVal { get; set; } diff --git a/src/Windowing/Silk.NET.Windowing.Sdl/SdlVkSurface.cs b/src/Windowing/Silk.NET.Windowing.Sdl/SdlVkSurface.cs index 14ba38f626..827c28b09b 100644 --- a/src/Windowing/Silk.NET.Windowing.Sdl/SdlVkSurface.cs +++ b/src/Windowing/Silk.NET.Windowing.Sdl/SdlVkSurface.cs @@ -42,12 +42,12 @@ public unsafe VkNonDispatchableHandle Create(VkHandle instance, T* allocator) { if (_requiredExtensions == null) { - _requiredExtensions = (byte**) Marshal.AllocHGlobal((IntPtr) (sizeof(byte*) * count)); + _requiredExtensions = (byte**) Marshal.AllocHGlobal((nint) (sizeof(byte*) * count)); } else { _requiredExtensions = (byte**) Marshal.ReAllocHGlobal - ((IntPtr) _requiredExtensions, (IntPtr) (sizeof(byte*) * count)); + ((nint) _requiredExtensions, (nint) (sizeof(byte*) * count)); } if (_view.Sdl.VulkanGetInstanceExtensions diff --git a/src/Windowing/iOS/Silk.NET.Windowing.Sdl.iOS/Class1.cs b/src/Windowing/iOS/Silk.NET.Windowing.Sdl.iOS/Class1.cs index faa654d552..64144f571f 100644 --- a/src/Windowing/iOS/Silk.NET.Windowing.Sdl.iOS/Class1.cs +++ b/src/Windowing/iOS/Silk.NET.Windowing.Sdl.iOS/Class1.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Runtime.InteropServices; using ObjCRuntime; @@ -19,16 +18,16 @@ static SilkMobile() [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public unsafe delegate void MainFunction(int numArgs, byte** args); [DllImport("__Internal", EntryPoint = "SDL_UIKitRunApp")] - private static extern unsafe void CoreRunApp(int numArgs, byte** args, IntPtr callback); + private static extern unsafe void CoreRunApp(int numArgs, byte** args, nint callback); - public static unsafe void RunApp(int numArgs, byte** args, IntPtr callback) + public static unsafe void RunApp(int numArgs, byte** args, nint callback) { BeginRun(); CoreRunApp(numArgs, args, callback); EndRun(); } - public static unsafe void RunApp(IReadOnlyList args, IntPtr callback) + public static unsafe void RunApp(IReadOnlyList args, nint callback) { BeginRun(); var argsPtr = SilkMarshal.StringArrayToPtr(args); @@ -46,10 +45,10 @@ public static unsafe void RunApp(int numArgs, byte** args, MainFunction callback EndRun(); } - public static unsafe void RunApp(int numArgs, byte** args, Action callback) + public static unsafe void RunApp(int numArgs, byte** args, System.Action callback) { BeginRun(); - CurrentMain = (inNumArgs, argsPtr) => callback(SilkMarshal.PtrToStringArray((IntPtr)argsPtr, inNumArgs)); + CurrentMain = (inNumArgs, argsPtr) => callback(SilkMarshal.PtrToStringArray((nint)argsPtr, inNumArgs)); CoreRunApp(numArgs, args, GetCallMainPtr()); CurrentMain = null; EndRun(); @@ -66,11 +65,11 @@ public static unsafe void RunApp(IReadOnlyList args, MainFunction callba EndRun(); } - public static unsafe void RunApp(IReadOnlyList args, Action callback) + public static unsafe void RunApp(IReadOnlyList args, System.Action callback) { BeginRun(); var argsPtr = SilkMarshal.StringArrayToPtr(args); - CurrentMain = (numArgs, inArgsPtr) => callback(SilkMarshal.PtrToStringArray((IntPtr)inArgsPtr, numArgs)); + CurrentMain = (numArgs, inArgsPtr) => callback(SilkMarshal.PtrToStringArray((nint)inArgsPtr, numArgs)); CoreRunApp(args.Count, (byte**)argsPtr, GetCallMainPtr()); CurrentMain = null; SilkMarshal.Free(argsPtr); @@ -80,14 +79,14 @@ public static unsafe void RunApp(IReadOnlyList args, Action ca [MonoPInvokeCallback(typeof(MainFunction))] private static unsafe void CallMain(int numArgs, byte** args) => CurrentMain!(numArgs, args); - private static unsafe IntPtr GetCallMainPtr() + private static unsafe nint GetCallMainPtr() => Marshal.GetFunctionPointerForDelegate((MainFunction) CallMain); private static void BeginRun() { if (_running) { - throw new InvalidOperationException("App already running."); + throw new System.InvalidOperationException("App already running."); } SdlWindowing.RegisterPlatform();